Project

General

Profile

Submit #3142

lib/libdmsg: Unbreak using new API EVP_CIPHER_CTX_new()

Added by tkusumi 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/08/2018
Due date:
% Done:

0%

Estimated time:

Description

https://github.com/kusumi/DragonFlyBSD/commit/e6833c80bc898c2674e180828fe62cd0b53226e7

--
The upstream OpenSSL no longer publicly expose definition of
EVP_CIPHER_CTX (struct evp_cipher_ctx_st).

Due to this change clients need to have it as a pointer instead
of as a value, and allocate or free EVP_CIPHER_CTX instance by
EVP_CIPHER_CTX_new()/EVP_CIPHER_CTX_free().

> https://github.com/openssl/openssl/issues/962#issuecomment-208792020

Also available in: Atom PDF