=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/ocsp.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/openssl/ocsp.c 2015/09/11 14:30:23 1.4 --- src/usr.bin/openssl/ocsp.c 2015/10/03 03:39:19 1.5 *************** *** 1,4 **** ! /* $OpenBSD: ocsp.c,v 1.4 2015/09/11 14:30:23 bcook Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ --- 1,4 ---- ! /* $OpenBSD: ocsp.c,v 1.5 2015/10/03 03:39:19 deraadt Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ *************** *** 1110,1116 **** BIO_puts(err, "Error connecting BIO\n"); return NULL; } ! if (BIO_get_fd(cbio, &fd) <= 0) { BIO_puts(err, "Can't get connection fd\n"); goto err; } --- 1110,1116 ---- BIO_puts(err, "Error connecting BIO\n"); return NULL; } ! if (BIO_get_fd(cbio, &fd) < 0) { BIO_puts(err, "Can't get connection fd\n"); goto err; }