Fix -Wint-conversion warning

This commit is contained in:
Dmitry-Me 2019-11-26 18:03:47 +03:00
parent e6d692d960
commit 8f72a714d1
1 changed files with 1 additions and 1 deletions

View File

@ -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 */