diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-07-17 20:52:51 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-07-17 20:52:51 +0200 |
commit | b58942794119a3167a0e45a7bc2dd67512294f52 (patch) | |
tree | 2147b146d24063c6e63d619604cccd3c7a8426ae /crypto/ocsp | |
parent | Update .cvsignore again. (diff) | |
download | openssl-b58942794119a3167a0e45a7bc2dd67512294f52.tar.xz openssl-b58942794119a3167a0e45a7bc2dd67512294f52.zip |
WIN32 fixes signed/unsigned issues and slightly socket semantics.
Diffstat (limited to 'crypto/ocsp')
-rw-r--r-- | crypto/ocsp/ocsp_ht.c | 5 |
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; |