diff options
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_ht.c')
-rw-r--r-- | src/lib/libcrypto/ocsp/ocsp_ht.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_ht.c b/src/lib/libcrypto/ocsp/ocsp_ht.c index 7f73a4195c..f3ee29ccbb 100644 --- a/src/lib/libcrypto/ocsp/ocsp_ht.c +++ b/src/lib/libcrypto/ocsp/ocsp_ht.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * are met: | 10 | * are met: |
11 | * | 11 | * |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. |
14 | * | 14 | * |
15 | * 2. Redistributions in binary form must reproduce the above copyright | 15 | * 2. Redistributions in binary form must reproduce the above copyright |
16 | * notice, this list of conditions and the following disclaimer in | 16 | * notice, this list of conditions and the following disclaimer in |
@@ -233,7 +233,7 @@ parse_http_line1(char *line) | |||
233 | return 0; | 233 | return 0; |
234 | } | 234 | } |
235 | 235 | ||
236 | /* Set end of response code and start of message */ | 236 | /* Set end of response code and start of message */ |
237 | *q++ = 0; | 237 | *q++ = 0; |
238 | 238 | ||
239 | /* Attempt to parse numeric code */ | 239 | /* Attempt to parse numeric code */ |
@@ -290,7 +290,7 @@ next_io: | |||
290 | case OHS_ASN1_WRITE: | 290 | case OHS_ASN1_WRITE: |
291 | n = BIO_get_mem_data(rctx->mem, &p); | 291 | n = BIO_get_mem_data(rctx->mem, &p); |
292 | i = BIO_write(rctx->io, | 292 | i = BIO_write(rctx->io, |
293 | p + (n - rctx->asn1_len), rctx->asn1_len); | 293 | p + (n - rctx->asn1_len), rctx->asn1_len); |
294 | if (i <= 0) { | 294 | if (i <= 0) { |
295 | if (BIO_should_retry(rctx->io)) | 295 | if (BIO_should_retry(rctx->io)) |
296 | return -1; | 296 | return -1; |
@@ -422,7 +422,7 @@ next_line: | |||
422 | rctx->state = OHS_ASN1_CONTENT; | 422 | rctx->state = OHS_ASN1_CONTENT; |
423 | 423 | ||
424 | /* FALLTHROUGH */ | 424 | /* FALLTHROUGH */ |
425 | 425 | ||
426 | case OHS_ASN1_CONTENT: | 426 | case OHS_ASN1_CONTENT: |
427 | n = BIO_get_mem_data(rctx->mem, &p); | 427 | n = BIO_get_mem_data(rctx->mem, &p); |
428 | if (n < (int)rctx->asn1_len) | 428 | if (n < (int)rctx->asn1_len) |