From 9e5ad3eb37960f973ee1e1886958bc307e094c9a Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 6 Jan 2004 20:45:14 +0000 Subject: added getpass() check. --- src/certtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/certtool.c b/src/certtool.c index e4f26c365a..6546765cb0 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -140,14 +140,14 @@ int len; static const char* read_pass( const char* input_str) { -#ifdef _WIN32 +#ifndef HAVE_GETPASS static char input[128]; #endif const char* pass; if (info.pass) return info.pass; -#ifdef _WIN32 +#ifndef HAVE_GETPASS fputs( input_str, stderr); fgets( input, sizeof(input), stdin); -- cgit v1.2.1