mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Fix coverity CID #1458648 - Wrong sizeof() arg in rsa_freectx()
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/12628)
This commit is contained in:
parent
75348bb298
commit
26c5ea8f61
@ -839,7 +839,7 @@ static void rsa_freectx(void *vprsactx)
|
||||
OPENSSL_free(prsactx->propq);
|
||||
free_tbuf(prsactx);
|
||||
|
||||
OPENSSL_clear_free(prsactx, sizeof(prsactx));
|
||||
OPENSSL_clear_free(prsactx, sizeof(*prsactx));
|
||||
}
|
||||
|
||||
static void *rsa_dupctx(void *vprsactx)
|
||||
|
Loading…
Reference in New Issue
Block a user