aboutsummaryrefslogtreecommitdiffstats
path: root/common/mapstrings.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-10-14 04:55:33 +0000
committerNIIBE Yutaka <[email protected]>2025-10-21 04:16:55 +0000
commit39cc15029017ba5fd6d04f710e5a3125ed3b30a8 (patch)
treeeaa7b2fc40fad7657b42a3245e1eeb90ac953a87 /common/mapstrings.c
parentcommon,dirmngr:w32: Fix for semi-hosted environment. (diff)
downloadgnupg-39cc15029017ba5fd6d04f710e5a3125ed3b30a8.tar.gz
gnupg-39cc15029017ba5fd6d04f710e5a3125ed3b30a8.zip
build,common,g13,sm,tools: Require GpgRT 1.56.
* configure.ac (NEED_GPGRT_VERSION): Require 1.56. * g13/g13.c (main): Remove support of old gpgrt. * sm/gpgsm.c (main): Likewise. * tools/gpg-wks-client.c (wrong_args, main): Likewise. * tools/gpgconf.c (my_read_reg_string): Likewise. * common/util.h (GPG_ERR_UNEXPECTED_PACKET): Likewise. * common/mapstrings.c (map_static_macro_string): Likewise. -- GnuPG-bug-id: 7855 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/mapstrings.c')
-rw-r--r--common/mapstrings.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/mapstrings.c b/common/mapstrings.c
index 9efe95c0d..172e198ea 100644
--- a/common/mapstrings.c
+++ b/common/mapstrings.c
@@ -154,14 +154,6 @@ map_static_macro_string (const char *string)
membuf_t mb;
char *p;
- /* We use a hack if we don't use the fixed gpgrt 1.47
- * (commit 885a287a57cf060b4c5b441822c09d23b8dee2bd) */
-#if GPGRT_VERSION_NUMBER < 0x012f00
- if (string && !strncmp (string, "Project-Id-Version:", 19)
- && strstr (string, "PO-Revision-Date:"))
- return "";
-#endif
-
if ((s = already_mapped (string)))
return s;
s = string;