mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-18 04:19:41 +00:00
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)
This commit is contained in:
parent
fe6984df95
commit
f31c714e92
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user