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 18:38:06 +0000 (20:38 +0200)
commit6a3dd58678b3dcd2bb40d4b0d9965c786d10342a
treebe8ede0e788370c66c79febb65a6cfd2f526cf53
parent2d404dc38031122147043af31a1f1de364903be2
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