From: Dr. Stephen Henson Date: Fri, 12 Mar 2010 12:06:48 +0000 (+0000) Subject: missing goto meant signature was never printed out X-Git-Tag: OpenSSL-fips-2_0-rc1~1189 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e45c32fabf35e50ea451e8a0180c575104e700ac;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;