summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/ocsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/ocsp.c b/src/usr.bin/openssl/ocsp.c
index 39000328b6..3a6ac36b1e 100644
--- a/src/usr.bin/openssl/ocsp.c
+++ b/src/usr.bin/openssl/ocsp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ocsp.c,v 1.4 2015/09/11 14:30:23 bcook Exp $ */ 1/* $OpenBSD: ocsp.c,v 1.5 2015/10/03 03:39:19 deraadt Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -1110,7 +1110,7 @@ query_responder(BIO * err, BIO * cbio, char *path,
1110 BIO_puts(err, "Error connecting BIO\n"); 1110 BIO_puts(err, "Error connecting BIO\n");
1111 return NULL; 1111 return NULL;
1112 } 1112 }
1113 if (BIO_get_fd(cbio, &fd) <= 0) { 1113 if (BIO_get_fd(cbio, &fd) < 0) {
1114 BIO_puts(err, "Can't get connection fd\n"); 1114 BIO_puts(err, "Can't get connection fd\n");
1115 goto err; 1115 goto err;
1116 } 1116 }