remove useless VERIFY_SIGNATURE #ifdef
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 24 May 2008 19:53:17 +0000 (21:53 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Sat, 24 May 2008 19:53:17 +0000 (21:53 +0200)
Makefile
dump.c

index e961425..fcb50ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 CFLAGS += -Wall -g3
-#CFLAGS += -DVERIFY_SIGNATURE -DUSE_OPENSSL
+#CFLAGS += -DUSE_OPENSSL
 #LDFLAGS += -lssl
-CFLAGS += -DVERIFY_SIGNATURE -DUSE_GCRYPT
+CFLAGS += -DUSE_GCRYPT
 LDFLAGS += -lgcrypt
 
 all:   regulatory.bin warn
diff --git a/dump.c b/dump.c
index 69c10bd..8254160 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -9,8 +9,6 @@
 
 #include "regdb.h"
 
-#ifdef VERIFY_SIGNATURE
-
 #ifdef USE_OPENSSL
 #include <openssl/objects.h>
 #include <openssl/bn.h>
@@ -26,8 +24,6 @@
 #include "keys-gcrypt.c"
 #endif
 
-#endif
-
 static void *get_file_ptr(__u8 *db, int dblen, int structlen, __be32 ptr)
 {
        __u32 p = ntohl(ptr);