summaryrefslogtreecommitdiffstats
path: root/crypto/ui/ui_err.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-12-09 23:35:53 +0100
committerRichard Levitte <levitte@openssl.org>2016-12-10 10:16:41 +0100
commitc922ebe23247ff9ee07310fa30647623c0547cd9 (patch)
treec4bedd44de6b0fc509c1a0fe152b520d9dbe871e /crypto/ui/ui_err.c
parentVMS UI_OpenSSL: if the TT device isn't a tty, flag instead of error (diff)
downloadopenssl-c922ebe23247ff9ee07310fa30647623c0547cd9.tar.xz
openssl-c922ebe23247ff9ee07310fa30647623c0547cd9.zip
VMS UI_OpenSSL: generate OpenSSL errors when things go wrong.
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2063)
Diffstat (limited to 'crypto/ui/ui_err.c')
-rw-r--r--crypto/ui/ui_err.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/ui/ui_err.c b/crypto/ui/ui_err.c
index eaaa4f58e9..c8640feaf1 100644
--- a/crypto/ui/ui_err.c
+++ b/crypto/ui/ui_err.c
@@ -19,8 +19,11 @@
# define ERR_REASON(reason) ERR_PACK(ERR_LIB_UI,0,reason)
static ERR_STRING_DATA UI_str_functs[] = {
+ {ERR_FUNC(UI_F_CLOSE_CONSOLE), "close_console"},
+ {ERR_FUNC(UI_F_ECHO_CONSOLE), "echo_console"},
{ERR_FUNC(UI_F_GENERAL_ALLOCATE_BOOLEAN), "general_allocate_boolean"},
{ERR_FUNC(UI_F_GENERAL_ALLOCATE_PROMPT), "general_allocate_prompt"},
+ {ERR_FUNC(UI_F_NOECHO_CONSOLE), "noecho_console"},
{ERR_FUNC(UI_F_OPEN_CONSOLE), "open_console"},
{ERR_FUNC(UI_F_UI_CREATE_METHOD), "UI_create_method"},
{ERR_FUNC(UI_F_UI_CTRL), "UI_ctrl"},
@@ -45,6 +48,9 @@ static ERR_STRING_DATA UI_str_reasons[] = {
{ERR_REASON(UI_R_PROCESSING_ERROR), "processing error"},
{ERR_REASON(UI_R_RESULT_TOO_LARGE), "result too large"},
{ERR_REASON(UI_R_RESULT_TOO_SMALL), "result too small"},
+ {ERR_REASON(UI_R_SYSASSIGN_ERROR), "sys$assign error"},
+ {ERR_REASON(UI_R_SYSDASSGN_ERROR), "sys$dassgn error"},
+ {ERR_REASON(UI_R_SYSQIOW_ERROR), "sys$qiow error"},
{ERR_REASON(UI_R_UNKNOWN_CONTROL_COMMAND), "unknown control command"},
{ERR_REASON(UI_R_UNKNOWN_TTYGET_ERRNO_VALUE),
"unknown ttyget errno value"},