aboutsummaryrefslogtreecommitdiffstats
path: root/g10/passphrase.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-06-01 19:13:05 +0000
committerDavid Shaw <[email protected]>2005-06-01 19:13:05 +0000
commit7bf9354bf6fb9d5f00cc9c47def0dd360149c7f2 (patch)
treea492fc7a19245fce6e62c3fd35a1366f952ab7f8 /g10/passphrase.c
parent* ksutil.c [HAVE_DOSISH_SYSTEM]: Fix warnings on mingw32. Noted by Joe (diff)
downloadgnupg-7bf9354bf6fb9d5f00cc9c47def0dd360149c7f2.tar.gz
gnupg-7bf9354bf6fb9d5f00cc9c47def0dd360149c7f2.zip
* signal.c [HAVE_DOSISH_SYSTEM]: Fix unused function warnings on mingw32.
Noted by Joe Vender. * passphrase.c [_WIN32]: Remove unused variables.
Diffstat (limited to '')
-rw-r--r--g10/passphrase.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/g10/passphrase.c b/g10/passphrase.c
index 9606a78b1..862411184 100644
--- a/g10/passphrase.c
+++ b/g10/passphrase.c
@@ -1,6 +1,6 @@
/* passphrase.c - Get a passphrase
- * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003,
- * 2004, 2005 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+ * 2005 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -73,17 +73,10 @@
*(p) <= 'F'? (*(p)-'A'+10):(*(p)-'a'+10))
#define xtoi_2(p) ((xtoi_1(p) * 16) + xtoi_1((p)+1))
-
-
static char *fd_passwd = NULL;
static char *next_pw = NULL;
static char *last_pw = NULL;
-#if defined (_WIN32)
-static int read_fd = 0;
-static int write_fd = 0;
-#endif
-
static void hash_passphrase( DEK *dek, char *pw, STRING2KEY *s2k, int create );
int