tcpdump(8): Reconfigure a bit after NO_CRYPT removal.
authorSascha Wildner <saw@online.de>
Sun, 26 Nov 2017 13:11:17 +0000 (14:11 +0100)
committerSascha Wildner <saw@online.de>
Sun, 26 Nov 2017 13:11:17 +0000 (14:11 +0100)
usr.sbin/tcpdump/Makefile
usr.sbin/tcpdump/config.h

index 548aa58..c267689 100644 (file)
@@ -53,7 +53,6 @@ DPADD=        ${LIBL} ${LIBPCAP}
 LDADD= -ll -lpcap
 DPADD+=                ${LIBRECRYPTO}
 LDADD+=                -lprivate_crypto
-CFLAGS+=       -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H
 CFLAGS+=       -I${.CURDIR}/../../crypto/libressl/include
 LDFLAGS+=      ${PRIVATELIB_LDFLAGS}
 WARNS?=        2
index 70bf653..7d7397b 100644 (file)
 #define HAVE_INTTYPES_H 1
 
 /* Define to 1 if you have the `crypto' library (-lcrypto). */
-/* #undef HAVE_LIBCRYPTO */
+#define HAVE_LIBCRYPTO 1
 
 /* Define to 1 if you have the `rpc' library (-lrpc). */
 /* #undef HAVE_LIBRPC */
 /* #undef HAVE_NET_PFVAR_H */
 
 /* Define to 1 if you have the <openssl/evp.h> header file. */
-/* #undef HAVE_OPENSSL_EVP_H */
+#define HAVE_OPENSSL_EVP_H 1
 
 /* if there's an os_proto.h for this platform, to use additional prototypes */
 /* #undef HAVE_OS_PROTO_H */