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

index 9fe6f0fb022f0bcdac9f3f92da4e0478d63bf8c3..1695c9c4ad59aaf0d30f813f841258057302de79 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;