summaryrefslogtreecommitdiffstats
path: root/providers
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-08-11 16:23:28 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-08-24 11:19:28 +1000
commit26c5ea8f6168bba5c0879ac7b9bc62ed4e8d469c (patch)
tree0d6d0bd92a4dcb44b26fd0059fb1246079effb6d /providers
parent75348bb29820a10c0afbe754fdd03ceacc91979e (diff)
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)
Diffstat (limited to 'providers')
-rw-r--r--providers/implementations/signature/rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/signature/rsa.c b/providers/implementations/signature/rsa.c
index 05c47dfb65..1f1aab2c30 100644
--- a/providers/implementations/signature/rsa.c
+++ b/providers/implementations/signature/rsa.c
@@ -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)