diff options
author | Richard Levitte <levitte@openssl.org> | 2017-03-11 00:54:52 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-03-11 01:26:48 +0100 |
commit | f31c714e923e76f54ff3b492f646662ef57f7d59 (patch) | |
tree | 1eb40ff37d848580f2777add86b22f533a56ad19 | |
parent | fe6984df95f91422b11e74c02202a5f5eaf99eaa (diff) |
Fix UI_get0_action_string()
It shouldn't try to return an action description for UIT_PROMPT type
UI strings.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2904)
(cherry picked from commit 6e470e190853f59a394dc92fefd74666c94266f4)
-rw-r--r-- | crypto/ui/ui_lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c index 12d62d86d3..c06baa0551 100644 --- a/crypto/ui/ui_lib.c +++ b/crypto/ui/ui_lib.c @@ -705,7 +705,6 @@ const char *UI_get0_output_string(UI_STRING *uis) const char *UI_get0_action_string(UI_STRING *uis) { switch (uis->type) { - case UIT_PROMPT: case UIT_BOOLEAN: return uis->_.boolean_data.action_desc; default: |