summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-03-11 00:54:52 +0100
committerRichard Levitte <levitte@openssl.org>2017-03-11 01:27:31 +0100
commit2b194874c14bdaa8f60280f37d5ad0c154cebfe2 (patch)
tree1ff43d61dc768283a082d2920887a7fd023bce48 /crypto
parent5247c0388610bfdcc8f44b777d75ab681120753d (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) (cherry picked from commit f31c714e923e76f54ff3b492f646662ef57f7d59)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/ui/ui_lib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c
index 3cc067c3b7..643ae59343 100644
--- a/crypto/ui/ui_lib.c
+++ b/crypto/ui/ui_lib.c
@@ -747,7 +747,6 @@ const char *UI_get0_action_string(UI_STRING *uis)
if (!uis)
return NULL;
switch (uis->type) {
- case UIT_PROMPT:
case UIT_BOOLEAN:
return uis->_.boolean_data.action_desc;
default: