summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-03-12 12:07:05 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-03-12 12:07:05 +0000
commitf6a61b140e7d95bbe6b287b16677fa9ce0c41c55 (patch)
treea66c51a225c8a62d33f02c630b5f194c069a668c /crypto/ocsp
parent75ece4b5cfb3e2cfc85f9f023a6489aefab70a44 (diff)
missing goto meant signature was never printed out
Diffstat (limited to 'crypto/ocsp')
-rw-r--r--crypto/ocsp/ocsp_prn.c1
1 files changed, 1 insertions, 0 deletions
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;