diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-06-17 10:41:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-06-17 10:41:22 -0400 |
commit | b9b658e727520d947e6c14475ee22e8606e9f062 (patch) | |
tree | 76a1997f4787d5879b2e3a57ac25f865fe426a60 /src/common/compat.c | |
parent | 8d44ce910ddb00d6a9c18b912f2b027f822e5dc1 (diff) | |
download | tor-b9b658e727520d947e6c14475ee22e8606e9f062.tar.gz tor-b9b658e727520d947e6c14475ee22e8606e9f062.zip |
Add the openssh 6.8p1 readpassphrase implementation
This way glibc users don't have to fall back to getpass.
Windows users are still out of luck
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 701027523e..a931f0a229 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -69,6 +69,8 @@ #endif #ifdef HAVE_READPASSPHRASE_H #include <readpassphrase.h> +#elif !defined(_WIN32) +#include "readpassphrase.h" #endif #ifndef HAVE_GETTIMEOFDAY |