mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 05:01:58 +01:00
src: openssl 1.1 fix
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
20b50b7f21
commit
17f21f1bc3
@ -227,7 +227,7 @@ CLEANUP:
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
EVP_CIPHER_CTX_cleanup(&ctx);
|
||||
#else
|
||||
EVP_CIPHER_CTX_cleanup(ctx);
|
||||
EVP_CIPHER_CTX_free(ctx);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
@ -130,7 +130,7 @@ int store_file(struct session_data *sdata, char *filename, int len, struct __con
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
EVP_CIPHER_CTX_cleanup(&ctx);
|
||||
#else
|
||||
EVP_CIPHER_CTX_cleanup(ctx);
|
||||
EVP_CIPHER_CTX_free(ctx);
|
||||
#endif
|
||||
|
||||
gettimeofday(&tv2, &tz);
|
||||
|
Loading…
Reference in New Issue
Block a user