diff options
author | Simon Josefsson <simon@josefsson.org> | 2004-09-21 13:08:23 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2004-09-21 13:08:23 +0000 |
commit | 1f84fe6d59a14e6fc9a6175a589aea031a533978 (patch) | |
tree | d7fe966629b8516b6835eeb7dbe79d67309c820c /libextra/opencdk | |
parent | c13d9ce9fec7b1f9392af720d16ef6a47c97991b (diff) | |
download | gnutls-1f84fe6d59a14e6fc9a6175a589aea031a533978.tar.gz |
Use gnulib getpass in opencdk.
Diffstat (limited to 'libextra/opencdk')
-rw-r--r-- | libextra/opencdk/main.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libextra/opencdk/main.c b/libextra/opencdk/main.c index ac66c1c3d2..b4f5c666f7 100644 --- a/libextra/opencdk/main.c +++ b/libextra/opencdk/main.c @@ -336,15 +336,7 @@ _cdk_log_debug (const char *fmt, ...) va_end (arg); } - -#ifndef HAVE_PWD_H -char * -getpass (const char * prompt) -{ - return NULL; /* fixme */ -} -#endif - +#include <getpass.h> char * _cdk_passphrase_get( cdk_ctx_t hd, const char * prompt ) |