Loading crypto/evp/evp_enc.c +2 −1 Original line number Original line Diff line number Diff line Loading @@ -50,6 +50,7 @@ void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc) const unsigned char *key, const unsigned char *iv, int enc) { { if (cipher != NULL) EVP_CIPHER_CTX_reset(ctx); EVP_CIPHER_CTX_reset(ctx); return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); } } Loading Loading
crypto/evp/evp_enc.c +2 −1 Original line number Original line Diff line number Diff line Loading @@ -50,6 +50,7 @@ void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc) const unsigned char *key, const unsigned char *iv, int enc) { { if (cipher != NULL) EVP_CIPHER_CTX_reset(ctx); EVP_CIPHER_CTX_reset(ctx); return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); } } Loading