If errno is ENXIO in BSS_new_file(), set BIO_R_NO_SUCH_FILE
authorRichard Levitte <levitte@openssl.org>
Thu, 8 Sep 2016 21:39:26 +0000 (23:39 +0200)
committerRichard Levitte <richard@levitte.org>
Thu, 8 Sep 2016 22:10:59 +0000 (00:10 +0200)
commit0adfd49e47b08df699c941efef01b88d12b4a060
tree5a373492bf692bfa6b2106717e55b4cd2b566319
parentd3fa9addd24f50aa58cf2687cfa7dda579c2c5f6
If errno is ENXIO in BSS_new_file(), set BIO_R_NO_SUCH_FILE

VMS sets that errno when the device part of a file spec is malformed
or a logical name that doesn't exist.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit e82e2186e93e9a678dd8c0c5ba084d21d27d4d62)
crypto/bio/bss_file.c