TTY_get() in crypto/ui/ui_openssl.c open_console() can also return errno 6 (ENXIO, Solaris) and 5 (EIO, Linux) #7271
Labels
branch: master
Merge to master branch
branch: 1.0.2
Merge to OpenSSL_1_0_2-stable branch
branch: 1.1.1
Merge to OpenSSL_1_1_1-stable branch
Milestone
I am running multiple iterations of the Apache httpd test suite using shell scripts. When I log out while the scripts are running in the background, invocations of "openssl pkcs12" binary throw errors:
Solaris:
Linux:
IMHO that means, errno 6 (ENXIO) for Solaris and 5 (EIO) for Linux should be handled just like the errnos already handled by the code in crypto/ui/ui_openssl.c open_console() (ENOTTY, EINVAL, ENODEV) by setting "is_a_tty = 0;" and continuing instead of returning due to unknown error.
The problem occurs in 1.1.0 and 1.1.1 (and probably master).
Patch for master:
Regards,
Rainer
The text was updated successfully, but these errors were encountered: