aboutsummaryrefslogtreecommitdiffstats
path: root/g10/passphrase.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-06-06 18:12:30 +0000
committerWerner Koch <[email protected]>2007-06-06 18:12:30 +0000
commit2c9791db555cc571eaedfa71444da05454bd052a (patch)
tree9566d22f85e562e0c7b35dacc1697c9a58fcff1a /g10/passphrase.c
parentPrint passphrase encoding info only in PEM mode. (diff)
downloadgnupg-2c9791db555cc571eaedfa71444da05454bd052a.tar.gz
gnupg-2c9791db555cc571eaedfa71444da05454bd052a.zip
First steps towards supporting W32.
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
Diffstat (limited to 'g10/passphrase.c')
-rw-r--r--g10/passphrase.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/passphrase.c b/g10/passphrase.c
index 970e4d9a3..2d904e5e1 100644
--- a/g10/passphrase.c
+++ b/g10/passphrase.c
@@ -259,7 +259,9 @@ passphrase_get ( u32 *keyid, int mode, const char *cacheid,
PKT_public_key *pk = xmalloc_clear( sizeof *pk );
byte fpr[MAX_FINGERPRINT_LEN];
int have_fpr = 0;
+#ifdef ENABLE_NLS
char *orig_codeset = NULL;
+#endif
char *my_prompt;
char hexfprbuf[20*2+1];
const char *my_cacheid;