summaryrefslogtreecommitdiffstats
path: root/crypto/ui/ui_openssl.c
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2009-06-07 19:56:18 +0000
committersimon <simon@FreeBSD.org>2009-06-07 19:56:18 +0000
commitfc5b6d55de4ea73602809deec0b965745f83a804 (patch)
tree873f9f63931a5d069bbcb053ea49eec4a92802dc /crypto/ui/ui_openssl.c
parent212fba63d3a2fed2e6ca619035a42526db27a3b8 (diff)
downloadFreeBSD-src-fc5b6d55de4ea73602809deec0b965745f83a804.zip
FreeBSD-src-fc5b6d55de4ea73602809deec0b965745f83a804.tar.gz
Import OpenSSL 0.9.8k.
Diffstat (limited to 'crypto/ui/ui_openssl.c')
-rw-r--r--crypto/ui/ui_openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index 1f23a45..ef930bf 100644
--- a/crypto/ui/ui_openssl.c
+++ b/crypto/ui/ui_openssl.c
@@ -677,6 +677,8 @@ static int noecho_fgets(char *buf, int size, FILE *tty)
size--;
#ifdef WIN16TTY
i=_inchar();
+#elif defined(_WIN32)
+ i=_getch();
#else
i=getch();
#endif
OpenPOWER on IntegriCloud