From 1c5b3c378321267e86aa4154c3d907a1088f6949 Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Fri, 30 Oct 2015 17:45:53 +0100 Subject: wsgcrypt.h checks internally if we HAVE_LIBGCRYPT we can #include without doing the check ourselves Change-Id: I248431bdb6cfa1bd85b794ec04ce1e4fcd3a7d2d Reviewed-on: https://code.wireshark.org/review/11483 Reviewed-by: Alexis La Goutte Petri-Dish: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- asn1/pkcs12/packet-pkcs12-template.c | 2 -- asn1/snmp/packet-snmp-template.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'asn1') diff --git a/asn1/pkcs12/packet-pkcs12-template.c b/asn1/pkcs12/packet-pkcs12-template.c index d6a80dc586..bcdd6202a0 100644 --- a/asn1/pkcs12/packet-pkcs12-template.c +++ b/asn1/pkcs12/packet-pkcs12-template.c @@ -39,9 +39,7 @@ #include "packet-x509if.h" #include "packet-cms.h" -#ifdef HAVE_LIBGCRYPT #include -#endif #define PNAME "PKCS#12: Personal Information Exchange" #define PSNAME "PKCS12" diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index c0b97d7856..a94dffdf35 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -67,9 +67,7 @@ #include "packet-ber.h" #include "packet-snmp.h" -#ifdef HAVE_LIBGCRYPT #include -#endif /* Take a pointer that may be null and return a pointer that's not null by turning null pointers into pointers to the above null string, -- cgit v1.2.3