mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
415e7c488e
There are two failure cases for OCSP_request_add_id(): 1. OCSP_ONEREQ_new() failure, where |cid| is not freed 2. sk_OCSP_ONEREQ_push() failure, where |cid| is freed This changes makes the error behavior consistent, such that |cid| is not freed when sk_OCSP_ONEREQ_push() fails. OpenSSL only takes ownership of |cid| when the function succeeds. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1289) |
||
---|---|---|
.. | ||
build.info | ||
ocsp_asn.c | ||
ocsp_cl.c | ||
ocsp_err.c | ||
ocsp_ext.c | ||
ocsp_ht.c | ||
ocsp_lcl.h | ||
ocsp_lib.c | ||
ocsp_prn.c | ||
ocsp_srv.c | ||
ocsp_vfy.c | ||
v3_ocsp.c |