aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-09-18 09:26:56 +0000
committerWerner Koch <[email protected]>2023-09-18 09:29:21 +0000
commitde84c58d90a795e18dac9db7bc5599b121dadf64 (patch)
treef3672c93aab1f9b08f4dfb1d5a0eb6276c225538
parentdirmngr: Relax the detection of the "none" keyserver. (diff)
downloadgnupg-de84c58d90a795e18dac9db7bc5599b121dadf64.tar.gz
gnupg-de84c58d90a795e18dac9db7bc5599b121dadf64.zip
gpg: Fix --no-utf8-strings.
* g10/gpg.c (main): Ignore --no-utf8-strings only on Windows. -- Fixes-commit: b912f07cdf00043b97fca54e4113fab277726e03 Reported-by: Ingo Klöcker
-rw-r--r--g10/gpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index fb0c33966..229635185 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -3384,7 +3384,7 @@ main (int argc, char **argv)
break;
case oUtf8Strings: utf8_strings = 1; break;
case oNoUtf8Strings:
-#ifdef HAVE_W32_SYSTEM
+#ifndef HAVE_W32_SYSTEM
utf8_strings = 0;
#endif
break;