X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Focsp%2Focsp_cl.c;h=33a30bdf1c72870b9501c1fa73a60c4df4ecc8a2;hp=195d87c8bedf7472d152f550dc60a02a6ec03255;hb=68efafc513788863339c199d22048ef275832094;hpb=c2d551c01930df54bce6517cfecd214db6e98e80 diff --git a/crypto/ocsp/ocsp_cl.c b/crypto/ocsp/ocsp_cl.c index 195d87c8be..33a30bdf1c 100644 --- a/crypto/ocsp/ocsp_cl.c +++ b/crypto/ocsp/ocsp_cl.c @@ -32,7 +32,7 @@ OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid) OCSP_ONEREQ *one = NULL; if ((one = OCSP_ONEREQ_new()) == NULL) - goto err; + return NULL; OCSP_CERTID_free(one->reqCert); one->reqCert = cid; if (req && !sk_OCSP_ONEREQ_push(req->tbsRequest.requestList, one))