mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_crypto: Use EVP API's instead of legacy API's
ASTERISK-30046 #close Change-Id: I5c738756de75fd27ebad54be144c0ac6193f21b2
This commit is contained in:
committed by
George Joseph
parent
2fb9373b24
commit
97b3459bd2
@@ -6394,7 +6394,7 @@ static int invalid_key(ast_aes_decrypt_key *ecx)
|
||||
#ifdef HAVE_OPENSSL
|
||||
int i;
|
||||
for (i = 0; i < 60; i++) {
|
||||
if (ecx->rd_key[i]) {
|
||||
if (ecx->raw[i]) {
|
||||
return 0; /* stop if we encounter anything non-zero */
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user