From: Dr. Stephen Henson Date: Fri, 12 Mar 2010 12:07:05 +0000 (+0000) Subject: missing goto meant signature was never printed out X-Git-Tag: OpenSSL_1_0_0~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6a61b140e7d95bbe6b287b16677fa9ce0c41c55;p=openssl missing goto meant signature was never printed out --- diff --git a/crypto/ocsp/ocsp_prn.c b/crypto/ocsp/ocsp_prn.c index 9fe6f0fb02..1695c9c4ad 100644 --- a/crypto/ocsp/ocsp_prn.c +++ b/crypto/ocsp/ocsp_prn.c @@ -275,6 +275,7 @@ int OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags) } if (!X509V3_extensions_print(bp, "Response Extensions", rd->responseExtensions, flags, 4)) + goto err; if(X509_signature_print(bp, br->signatureAlgorithm, br->signature) <= 0) goto err;