From 8f72a714d1d359a0bf52e8a091282a2e3620edf9 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Tue, 26 Nov 2019 18:03:47 +0300 Subject: [PATCH] Fix -Wint-conversion warning --- test/cfg/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cfg/openssl.c b/test/cfg/openssl.c index c24041322..abbd77030 100644 --- a/test/cfg/openssl.c +++ b/test/cfg/openssl.c @@ -28,7 +28,7 @@ int valid_code_do_crypt(char *outfile) FILE *out; ctx = EVP_CIPHER_CTX_new(); - EVP_EncryptInit_ex(ctx, EVP_idea_cbc(), NULL, key, iv); + EVP_EncryptInit_ex(ctx, EVP_aes_256_cbc(), NULL, key, iv); if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, intext, strlen(intext))) { /* Error */