diff options
author | Richard Levitte <levitte@openssl.org> | 2016-12-08 11:16:37 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-12-08 13:34:08 +0100 |
commit | 4984448648f69ed4425df68900b1fd6f17c6c271 (patch) | |
tree | f8b1a3bbeeb76753de16aea8fcece367d619c17e /crypto/err/err.c | |
parent | 57c0f378b8fdbdc55dba783e9b744b8ed2132819 (diff) |
In UI_OpenSSL's open(), generate an error on unknown errno
TTY_get() sometimes surprises us with new errno values to determine if
we have a controling terminal or not. This generated error is a
helpful tool to figure out that this was what happened and what the
unknown value is.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2043)
Diffstat (limited to 'crypto/err/err.c')
-rw-r--r-- | crypto/err/err.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c index 29e5a03197..44a293ad42 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -52,6 +52,7 @@ static ERR_STRING_DATA ERR_str_libraries[] = { {ERR_PACK(ERR_LIB_TS, 0, 0), "time stamp routines"}, {ERR_PACK(ERR_LIB_ENGINE, 0, 0), "engine routines"}, {ERR_PACK(ERR_LIB_OCSP, 0, 0), "OCSP routines"}, + {ERR_PACK(ERR_LIB_UI, 0, 0), "UI routines"}, {ERR_PACK(ERR_LIB_FIPS, 0, 0), "FIPS routines"}, {ERR_PACK(ERR_LIB_CMS, 0, 0), "CMS routines"}, {ERR_PACK(ERR_LIB_HMAC, 0, 0), "HMAC routines"}, |