summaryrefslogtreecommitdiffstats
path: root/g10/passphrase.c
diff options
context:
space:
mode:
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;