openssl/apps/lib
wangyuhang efec0f4611 unbuffer stdin before get passwd from stdin
commond LD_LIBRARY_PATH= openssl rsa -aes256 -passout stdin <<< "xxxxxx” will get pass(fun app_get_pass()) from stdin first, and then load key(fun load_key()). but it unbuffer stdin before load key, this will cause the load key to fail.

now unbuffer stdin before get pass, this will solve https://github.com/openssl/openssl/issues/19835

CLA: trivial

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19851)
2022-12-12 07:23:37 +11:00
..
app_libctx.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
app_params.c
app_provider.c apps: add query to allow a command to know of a provider command line option was processed 2021-07-12 09:13:41 +10:00
app_rand.c check the return value of OPENSSL_strdup(CRYPTO_strdup) in apps/lib/app_rand.c:32 2021-11-25 16:07:53 +10:00
app_x509.c Update copyright year 2021-04-22 14:38:44 +01:00
apps.c unbuffer stdin before get passwd from stdin 2022-12-12 07:23:37 +11:00
apps_opt_printf.c Add tests for do_updatedb 2022-02-14 10:18:46 +01:00
apps_ui.c
build.info apps/lib/http_server.{c,h}: clean up logging and move it to log.{c,h} 2022-09-07 23:04:25 +02:00
cmp_mock_srv.c Compensate for CMP-related TODOs removed by PR #15539 2022-12-07 21:57:36 +01:00
columns.c
engine.c
engine_loader.c Fix copyrights 2022-02-03 13:56:38 +01:00
fmt.c
http_server.c Rename ossl_sleep calls to OSSL_sleep everywhere 2022-10-06 08:01:09 +02:00
log.c Checking __STDC_VERSION__ rather than __STRICT_ANSI__ 2022-09-13 09:34:53 +02:00
names.c Update copyright year 2022-05-03 13:34:51 +01:00
opt.c Avoid unchecked string concatenation 2022-05-23 10:07:09 +10:00
s_cb.c Add support for compressed certificates (RFC8879) 2022-10-18 09:30:22 -04:00
s_socket.c apps & al : Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:28 +11:00
tlssrp_depr.c Deprecate the libssl level SRP APIs 2021-02-12 08:47:32 +00:00
vms_decc_argv.c Update copyright year 2021-06-17 13:24:59 +01:00
vms_term_sock.c Update copyright year 2022-05-03 13:34:51 +01:00
win32_init.c