summaryrefslogtreecommitdiffstats
path: root/dirmngr/dns-stuff.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-04-12 03:19:27 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2017-04-12 03:22:03 +0200
commitbd0c94939faf8ccfc117fb595e9bc0105edcafa4 (patch)
tree7ea2955eedb3332069fb626efa1d9e1535b1f8ad /dirmngr/dns-stuff.c
parentRevert "dirmngr: Fix dns-stuff.c." (diff)
downloadgnupg2-bd0c94939faf8ccfc117fb595e9bc0105edcafa4.tar.xz
gnupg2-bd0c94939faf8ccfc117fb595e9bc0105edcafa4.zip
dirmngr: Fix dns-stuff.c in another way.
* dirmngr/dns-stuff.c (T_CERT): Define our own. -- T_CERT may be defined by another enum type even if the value is same. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'dirmngr/dns-stuff.c')
-rw-r--r--dirmngr/dns-stuff.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/dirmngr/dns-stuff.c b/dirmngr/dns-stuff.c
index 728f662ae..cb0456af4 100644
--- a/dirmngr/dns-stuff.c
+++ b/dirmngr/dns-stuff.c
@@ -95,9 +95,8 @@
#ifndef T_SRV
#define T_SRV 33
#endif
-#ifndef T_CERT
-# define T_CERT 37
-#endif
+#undef T_CERT
+#define T_CERT 37
/* The standard SOCKS and TOR ports. */
#define SOCKS_PORT 1080