summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-07-17 18:52:51 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-07-17 18:52:51 +0000
commitb58942794119a3167a0e45a7bc2dd67512294f52 (patch)
tree2147b146d24063c6e63d619604cccd3c7a8426ae /crypto/ocsp
parentf0fa285f75f6551a78392a8c7ef0d3c229ad9e97 (diff)
WIN32 fixes signed/unsigned issues and slightly socket semantics.
Diffstat (limited to 'crypto/ocsp')
-rw-r--r--crypto/ocsp/ocsp_ht.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/ocsp/ocsp_ht.c b/crypto/ocsp/ocsp_ht.c
index d84cc34b8b..4b1992052d 100644
--- a/crypto/ocsp/ocsp_ht.c
+++ b/crypto/ocsp/ocsp_ht.c
@@ -237,7 +237,6 @@ int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx)
{
int i, n;
const unsigned char *p;
-
next_io:
if (!(rctx->state & OHS_NOREAD))
{
@@ -246,7 +245,7 @@ int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx)
if (n <= 0)
{
if (BIO_should_retry(rctx->io))
- return -1;
+ return -1;
return 0;
}
@@ -420,7 +419,7 @@ int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx)
case OHS_ASN1_CONTENT:
n = BIO_get_mem_data(rctx->mem, &p);
- if (n < rctx->asn1_len)
+ if (n < (int)rctx->asn1_len)
goto next_io;