It is referenced by OCSP_BASICRESP and will be
freed when that is freed.
Issue and a proposed fix reported by Stanislav Fort (Aisle Research).
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28300)
scts = OCSP_SINGLERESP_get1_ext_d2i(single,
NID_ct_cert_scts, NULL, NULL);
-
- OCSP_SINGLERESP_free(single);
-
if (scts == NULL) {
scts_extracted = -1;
goto err;