Remove defines of EVP_CIPHER_CTX_new and EVP_CIPHER_CTX_free
These functions defined since 0.9.8b
This commit is contained in:
parent
9bf8d361a1
commit
a24e29c9ad
1 changed files with 0 additions and 8 deletions
|
|
@ -36,14 +36,6 @@ typedef struct _PACKET_HOLDER {
|
|||
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
#define EVP_CIPHER_CTX_reset(x) EVP_CIPHER_CTX_cleanup(x); EVP_CIPHER_CTX_init(x)
|
||||
#define EVP_CIPHER_CTX_free(x) EVP_CIPHER_CTX_cleanup(x)
|
||||
|
||||
static EVP_CIPHER_CTX preallocatedCipherContext;
|
||||
|
||||
EVP_CIPHER_CTX* EVP_CIPHER_CTX_new() {
|
||||
EVP_CIPHER_CTX_init(&preallocatedCipherContext);
|
||||
return &preallocatedCipherContext;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Initializes the input stream
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue