mirror of https://github.com/openssl/openssl.git
get1_cert_status() returns an object that must be freed,
but the error path does not do that.
Fix it by adding a call to X509_free() in the error path.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26513)
(cherry picked from commit
|
||
---|---|---|
.. | ||
build.info | ||
cmp_asn.c | ||
cmp_client.c | ||
cmp_ctx.c | ||
cmp_err.c | ||
cmp_hdr.c | ||
cmp_http.c | ||
cmp_local.h | ||
cmp_msg.c | ||
cmp_protect.c | ||
cmp_server.c | ||
cmp_status.c | ||
cmp_util.c | ||
cmp_vfy.c |