mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-28 18:54:36 +00:00
PROV: Fix RSA-OAEP memory leak
The OAEP label wasn't freed when the operation context was freed. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11927)
This commit is contained in:
parent
b808665265
commit
5606922c3d
@ -257,6 +257,7 @@ static void rsa_freectx(void *vprsactx)
|
||||
|
||||
EVP_MD_free(prsactx->oaep_md);
|
||||
EVP_MD_free(prsactx->mgf1_md);
|
||||
OPENSSL_free(prsactx->oaep_label);
|
||||
|
||||
OPENSSL_free(prsactx);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user