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)
This commit is contained in:
parent
5469600e36
commit
6e470e1908
1 changed files with 1 additions and 1 deletions
|
@ -724,9 +724,9 @@ 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;
|
||||
case UIT_PROMPT:
|
||||
case UIT_NONE:
|
||||
case UIT_VERIFY:
|
||||
case UIT_INFO:
|
||||
|
|
Loading…
Reference in a new issue