mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 04:20:12 +01:00
Fixed typo for openssl 1.0.x EVP_bf_cbc()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
33ce44dea5
commit
82f6d0c0cf
@ -109,7 +109,7 @@ int store_file(struct session_data *sdata, char *filename, int len, struct confi
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
EVP_CIPHER_CTX_init(&ctx);
|
||||
EVP_EncryptInit_ex(&ctx, EVP_aes_256_cbc()(), NULL, cfg->key, cfg->iv);
|
||||
EVP_EncryptInit_ex(&ctx, EVP_aes_256_cbc(), NULL, cfg->key, cfg->iv);
|
||||
blocklen = EVP_CIPHER_CTX_block_size(&ctx);
|
||||
#else
|
||||
ctx = EVP_CIPHER_CTX_new();
|
||||
|
Loading…
Reference in New Issue
Block a user