summaryrefslogtreecommitdiffstats
path: root/tools/symcryptrun.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2007-07-05 00:14:08 +0200
committerMarcus Brinkmann <mb@g10code.com>2007-07-05 00:14:08 +0200
commit3c606ba127179e26bd23aa890268e3fea5607217 (patch)
tree967b46400b90f19b0fe66f7865809033cf4ce6cb /tools/symcryptrun.c
parentChanged to GPLv3. (diff)
downloadgnupg2-3c606ba127179e26bd23aa890268e3fea5607217.tar.xz
gnupg2-3c606ba127179e26bd23aa890268e3fea5607217.zip
2007-07-05 Marcus Brinkmann <marcus@g10code.de>
* symcryptrun.c (confucius_get_pass): Define orig_codeset if [ENABLE_NLS], not [HAVE_LANGINFO_CODESET].
Diffstat (limited to '')
-rw-r--r--tools/symcryptrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/symcryptrun.c b/tools/symcryptrun.c
index 74d82aa7b..fced86fb7 100644
--- a/tools/symcryptrun.c
+++ b/tools/symcryptrun.c
@@ -424,7 +424,7 @@ confucius_get_pass (const char *cacheid, int again, int *canceled)
{
int err;
char *pw;
-#ifdef HAVE_LANGINFO_CODESET
+#ifdef ENABLE_NLS
char *orig_codeset = NULL;
#endif