summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-12-08 11:16:37 +0100
committerRichard Levitte <richard@levitte.org>2016-12-08 13:35:23 +0100
commitdc76164c7693f57a6ded33a1344f2e8c1d6a0ee6 (patch)
tree1f2640bcac5b6aef43a9442e0b3e398058eaada7 /include
parente8a93291cac9a5ebf60f83d5f3cca2b757c32327 (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) (cherry picked from commit 4984448648f69ed4425df68900b1fd6f17c6c271)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/ui.h b/include/openssl/ui.h
index c62c05d17e..4337e914f9 100644
--- a/include/openssl/ui.h
+++ b/include/openssl/ui.h
@@ -341,6 +341,7 @@ int ERR_load_UI_strings(void);
/* Function codes. */
# define UI_F_GENERAL_ALLOCATE_BOOLEAN 108
# define UI_F_GENERAL_ALLOCATE_PROMPT 109
+# define UI_F_OPEN_CONSOLE 114
# define UI_F_UI_CREATE_METHOD 112
# define UI_F_UI_CTRL 111
# define UI_F_UI_DUP_ERROR_STRING 101
@@ -362,6 +363,7 @@ int ERR_load_UI_strings(void);
# define UI_R_RESULT_TOO_LARGE 100
# define UI_R_RESULT_TOO_SMALL 101
# define UI_R_UNKNOWN_CONTROL_COMMAND 106
+# define UI_R_UNKNOWN_TTYGET_ERRNO_VALUE 108
# ifdef __cplusplus
}