From d886975835e7e430aeda6ecb1653363b463bc9cf Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 12 Jun 2010 13:18:58 +0000 Subject: Fix gcc 4.6 warnings. Check TLS server hello extension length. --- crypto/ocsp/ocsp_prn.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'crypto/ocsp') diff --git a/crypto/ocsp/ocsp_prn.c b/crypto/ocsp/ocsp_prn.c index 90dd1aa38e..b8b7871d0a 100644 --- a/crypto/ocsp/ocsp_prn.c +++ b/crypto/ocsp/ocsp_prn.c @@ -182,7 +182,6 @@ int OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags) { int i, ret = 0; long l; - unsigned char *p; OCSP_CERTID *cid = NULL; OCSP_BASICRESP *br = NULL; OCSP_RESPID *rid = NULL; @@ -207,7 +206,6 @@ int OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags) return 1; } - p = ASN1_STRING_data(rb->response); i = ASN1_STRING_length(rb->response); if (!(br = OCSP_response_get1_basic(o))) goto err; rd = br->tbsResponseData; -- cgit v1.2.3