openssl/crypto/ui
Bernd Edlinger a7581949e4 Handle CTRL-C as non-redoable abort signal
This is a bit annoying, if for instance "openssl genrsa -aes128"
tries to read a 4+ character size password, but CTRL-C does no longer
work after a RETURN key, since the flag UI_FLAG_REDOABLE is set by
UI_set_result_ex, together with the error "You must type in 4 to 1023 characters".
Thus remove the REDOABLE flag to allow CTRL-C to work.

[extended tests]

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9170)

(cherry picked from commit f8922b5107)
2019-06-21 12:22:10 +02:00
..
build.info Add a null UI method 2017-02-26 01:00:26 +01:00
ui_err.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
ui_lib.c Handle CTRL-C as non-redoable abort signal 2019-06-21 12:22:10 +02:00
ui_locl.h Add UI functions to set result with explicit length and to retrieve the length 2017-09-08 20:06:06 +02:00
ui_null.c Add a null UI method 2017-02-26 01:00:26 +01:00
ui_openssl.c Update copyright year 2019-02-26 14:05:09 +00:00
ui_util.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00