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 <levitte@openssl.org>
Thu, 8 Sep 2016 21:39:26 +0000 (23:39 +0200)
commite82e2186e93e9a678dd8c0c5ba084d21d27d4d62
treef38c53ceaa278c989918558fe8afa2883a797477
parent047a5da2494abf565f5fb76f5cd92a05cd7fadd4
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>
crypto/bio/bss_file.c