summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-03-12 12:07:16 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-03-12 12:07:16 +0000
commitcc53036744a0c280220edb2e45a2bbc1cf5c636c (patch)
treec1992d5a6038ca311170b006785e6378411a1e49 /crypto/ocsp
parent4610d8dc00f4ef1c6dd2538b1d8e4304d135562d (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 01f81e7a59..90dd1aa38e 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;