Fix -Wint-conversion warning
This commit is contained in:
parent
e6d692d960
commit
8f72a714d1
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue