From 594d363f614b03e61f9df34ca102271bf471f62f Mon Sep 17 00:00:00 2001 From: jiaojinxing Date: Wed, 6 Jul 2022 16:58:48 +0800 Subject: [PATCH] Fixed open_console for SylixOS. --- openssl/crypto/ui/ui_openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl/crypto/ui/ui_openssl.c b/openssl/crypto/ui/ui_openssl.c index 0f630a5..4b99001 100644 --- a/openssl/crypto/ui/ui_openssl.c +++ b/openssl/crypto/ui/ui_openssl.c @@ -379,7 +379,7 @@ static int open_console(UI *ui) CRYPTO_THREAD_write_lock(ui->lock); is_a_tty = 1; -# if defined(OPENSSL_SYS_VXWORKS) +# if defined(OPENSSL_SYS_VXWORKS) || defined(SYLIXOS) tty_in = stdin; tty_out = stderr; # elif defined(_WIN32) && !defined(_WIN32_WCE)