From 94ecf1295bb42b59772448d58ff40dd75c4a3ef8 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 26 Nov 2017 14:11:17 +0100 Subject: [PATCH] tcpdump(8): Reconfigure a bit after NO_CRYPT removal. --- usr.sbin/tcpdump/Makefile | 1 - usr.sbin/tcpdump/config.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.sbin/tcpdump/Makefile b/usr.sbin/tcpdump/Makefile index 548aa58bd4..c267689c1d 100644 --- a/usr.sbin/tcpdump/Makefile +++ b/usr.sbin/tcpdump/Makefile @@ -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 diff --git a/usr.sbin/tcpdump/config.h b/usr.sbin/tcpdump/config.h index 70bf6532a6..7d7397b634 100644 --- a/usr.sbin/tcpdump/config.h +++ b/usr.sbin/tcpdump/config.h @@ -101,7 +101,7 @@ #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 */ @@ -125,7 +125,7 @@ /* #undef HAVE_NET_PFVAR_H */ /* Define to 1 if you have the 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 */ -- 2.41.0