Do not treat 0 return value from BIO_get_fd() as error
authorAlessandro Ghedini <alessandro@ghedini.me>
Fri, 2 Oct 2015 13:16:08 +0000 (15:16 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 23 Oct 2015 17:57:53 +0000 (19:57 +0200)
commit51a1cc4ffc68ee72ae8330cb35318995f8611027
treeec87415c6729822df766d995d6e32e45a290e002
parent8d43c0053b0df225f1c30b50af2aa1a0fc64b015
Do not treat 0 return value from BIO_get_fd() as error

0 is a valid file descriptor.

RT#4068

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 4428c7dba8f6f407d915c1226f4e0f673e8be241)
apps/ocsp.c