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:52:08 +0000 (19:52 +0200)
commit4428c7dba8f6f407d915c1226f4e0f673e8be241
treee0226d6f295f0405f327652d2d0aea6d2fe497eb
parentdad0b512e649336440e2b3cc9d667c56d9a91eff
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>
apps/ocsp.c