diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/ocsp/ocsp_ht.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_ht.c b/src/lib/libcrypto/ocsp/ocsp_ht.c index 9213e58ae4..2c48171883 100644 --- a/src/lib/libcrypto/ocsp/ocsp_ht.c +++ b/src/lib/libcrypto/ocsp/ocsp_ht.c | |||
@@ -120,7 +120,7 @@ Content-Length: %d\r\n\r\n"; | |||
120 | goto err; | 120 | goto err; |
121 | } | 121 | } |
122 | /* Skip past white space to start of response code */ | 122 | /* Skip past white space to start of response code */ |
123 | while(*p && isspace((unsigned char)*p)) p++; | 123 | while(isspace((unsigned char)*p)) p++; |
124 | if(!*p) { | 124 | if(!*p) { |
125 | OCSPerr(OCSP_F_OCSP_SENDREQ_BIO,OCSP_R_SERVER_RESPONSE_PARSE_ERROR); | 125 | OCSPerr(OCSP_F_OCSP_SENDREQ_BIO,OCSP_R_SERVER_RESPONSE_PARSE_ERROR); |
126 | goto err; | 126 | goto err; |
@@ -137,7 +137,7 @@ Content-Length: %d\r\n\r\n"; | |||
137 | retcode = strtoul(p, &r, 10); | 137 | retcode = strtoul(p, &r, 10); |
138 | if(*r) goto err; | 138 | if(*r) goto err; |
139 | /* Skip over any leading white space in message */ | 139 | /* Skip over any leading white space in message */ |
140 | while(*q && isspace((unsigned char)*q)) q++; | 140 | while(isspace((unsigned char)*q)) q++; |
141 | if(*q) { | 141 | if(*q) { |
142 | /* Finally zap any trailing white space in message (include CRLF) */ | 142 | /* Finally zap any trailing white space in message (include CRLF) */ |
143 | /* We know q has a non white space character so this is OK */ | 143 | /* We know q has a non white space character so this is OK */ |
@@ -156,7 +156,7 @@ Content-Length: %d\r\n\r\n"; | |||
156 | /* Find blank line marking beginning of content */ | 156 | /* Find blank line marking beginning of content */ |
157 | while(BIO_gets(mem, tmpbuf, 512) > 0) | 157 | while(BIO_gets(mem, tmpbuf, 512) > 0) |
158 | { | 158 | { |
159 | for(p = tmpbuf; *p && isspace((unsigned char)*p); p++) continue; | 159 | for(p = tmpbuf; isspace((unsigned char)*p); p++) continue; |
160 | if(!*p) break; | 160 | if(!*p) break; |
161 | } | 161 | } |
162 | if(*p) { | 162 | if(*p) { |