summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ocsp/ocsp_prn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_prn.c')
-rw-r--r--src/lib/libcrypto/ocsp/ocsp_prn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_prn.c b/src/lib/libcrypto/ocsp/ocsp_prn.c
index 87608ff399..1695c9c4ad 100644
--- a/src/lib/libcrypto/ocsp/ocsp_prn.c
+++ b/src/lib/libcrypto/ocsp/ocsp_prn.c
@@ -182,6 +182,7 @@ int OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags)
182 { 182 {
183 int i, ret = 0; 183 int i, ret = 0;
184 long l; 184 long l;
185 unsigned char *p;
185 OCSP_CERTID *cid = NULL; 186 OCSP_CERTID *cid = NULL;
186 OCSP_BASICRESP *br = NULL; 187 OCSP_BASICRESP *br = NULL;
187 OCSP_RESPID *rid = NULL; 188 OCSP_RESPID *rid = NULL;
@@ -206,6 +207,7 @@ int OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags)
206 return 1; 207 return 1;
207 } 208 }
208 209
210 p = ASN1_STRING_data(rb->response);
209 i = ASN1_STRING_length(rb->response); 211 i = ASN1_STRING_length(rb->response);
210 if (!(br = OCSP_response_get1_basic(o))) goto err; 212 if (!(br = OCSP_response_get1_basic(o))) goto err;
211 rd = br->tbsResponseData; 213 rd = br->tbsResponseData;