From 737d7e8d3945c206c037e139055821aa0c64bb8e Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Thu, 3 Dec 2015 17:22:58 +0000 Subject: Import OpenSSL 1.0.2e. --- apps/ocsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/ocsp.c') diff --git a/apps/ocsp.c b/apps/ocsp.c index 926083dd1b5c..6ed255d4b563 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -1261,8 +1261,8 @@ static OCSP_RESPONSE *query_responder(BIO *err, BIO *cbio, const char *path, return NULL; } - if (BIO_get_fd(cbio, &fd) <= 0) { - BIO_puts(err, "Can't get connection fd\n"); + if (BIO_get_fd(cbio, &fd) < 0) { + BIO_puts(bio_err, "Can't get connection fd\n"); goto err; } -- cgit v1.2.3