missing goto meant signature was never printed out
authorDr. Stephen Henson <steve@openssl.org>
Fri, 12 Mar 2010 12:07:16 +0000 (12:07 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 12 Mar 2010 12:07:16 +0000 (12:07 +0000)
crypto/ocsp/ocsp_prn.c

index 01f81e7a59a28dfefcb3b6a662a7ad9b993ca1aa..90dd1aa38ed4b60833f154e3c2bb45010a26247b 100644 (file)
@@ -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;