From nobody Wed May 24 23:44:47 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QRSTX0Bfdz4V97T; Wed, 24 May 2023 23:44:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QRSTW4x7Sz3hvj; Wed, 24 May 2023 23:44:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684971887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=24PN8TPOaT/qnaEdZiarofnhyGUBkbF/M8emDZWGqTk=; b=jTHi6m+zOi4Bx6x3JF6oMJwAN5nqE9kai2Ceqm125Mq4oYnsuYZIrzZDNVY0HJNwziCiLr AIyCcqK39cM/wDfkqN7wt/sQWX1dzyRPD/MKVmDgSJn+2+3xAkwVc+6/se5xS7x+4gmiXS E6dU25VovEUqVp2dCx8+RXElpssnQNUT0U1JZz5ATmsKguETlI8YC6kL+Uc3a9XVF4Ru4L XPSQ7MnbFM8DmlvUkFVf6AN87Iecv4hq3TE4phhHBT5BnhM3aE9Pq3Kjp0JTleL7c8XgRe EUUd35p1o98AHfUbWn6dvzxf0nNQBuoVcknQTUYnPkeAEuWvUPvDw7fxzaGwlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684971887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=24PN8TPOaT/qnaEdZiarofnhyGUBkbF/M8emDZWGqTk=; b=gg8Lo9sFE5Qc0i1vq+8wkR+LKjf7th8TGqvkN2tOd4icPZ03GXoSkzKr8kBDUpn9hNLlvv aB1D8u+EGgDHQMlg6oKNyat+CWnjEZ7SSfdYnLSpMYr5hRRxLGaCczPC0YzQcLV4Bi6zzN 88F9gqRuaTJIgYFL8K6Tc12yTryPoSuyjq5mbqpTlyV0alvEj4/RxDGrMKk82xZNptc8h9 Ww6p5nJQV4t1FdXBAURifNbgxBVORlj3XJYn8QXUNzB2nXiGVPY5TDA3qfpKPOwdLyfCME hI1fF8z0L/3vaqIFZOUOtP6COC28PxSnlU0mn52FboQjNin7zwoH3mQc0iaGZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684971887; a=rsa-sha256; cv=none; b=JADkozDWgibHpB5Ha8cKMmNan6m886e27RXy+i1m9+/i0JJjy3s92JBJYv0rLjyb+C2QyN wFNhRwVB5p7iGIQTTEhhnD+K0D1cuFTqCmf2cDaz8RUwwdkZ2N3bzJ+8FM/Rf80yOxB0GM eL/R7PlPiGH8xitJG/WySuTF+DDGgoM9zHauDBSVEHEN/+fx6ro51cFef/m+5nwNMKpNOU 2XV3hAb3Z4AiguSV8iuzQUPmdWOWRG37nq65qqU0QA+ASPZuMjcXjctRyT9RWVukV3yzIW fwiceJqY0syuvcVA0N7BrxA60pEQihhhGGvMBRV3FJry+r1HZbEgYmPipst3XA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QRSTW42mcz12g1; Wed, 24 May 2023 23:44:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34ONilpJ010717; Wed, 24 May 2023 23:44:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34ONilgB010716; Wed, 24 May 2023 23:44:47 GMT (envelope-from git) Date: Wed, 24 May 2023 23:44:47 GMT Message-Id: <202305242344.34ONilgB010716@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: baef3a5b585f - main - tcpdump: specify OpenSSL 1.1 APIs List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: baef3a5b585f462d9256f3b5a771ab5508ef6fd2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=baef3a5b585f462d9256f3b5a771ab5508ef6fd2 commit baef3a5b585f462d9256f3b5a771ab5508ef6fd2 Author: Pierre Pronchery AuthorDate: 2023-05-09 13:04:45 +0000 Commit: Ed Maste CommitDate: 2023-05-24 23:44:24 +0000 tcpdump: specify OpenSSL 1.1 APIs OPENSSL_API_COMPAT can be used to specify the OpenSSL API version in use for the purpose of hiding deprecated interfaces and enabling the appropriate deprecation notices. This change is a NFC while we're still using OpenSSL 1.1.1 but will avoid deprecation warnings upon the switch to OpenSSL 3.0. A future update should migrate to use the OpenSSL 3.0 APIs. PR: 271615 Reviewed by: emaste Event: Kitchener-Waterloo Hackathon 202305 Sponsored by: The FreeBSD Foundation --- usr.sbin/tcpdump/tcpdump/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile index 1133a0a150d5..35f0df0e0f47 100644 --- a/usr.sbin/tcpdump/tcpdump/Makefile +++ b/usr.sbin/tcpdump/tcpdump/Makefile @@ -196,6 +196,7 @@ CFLAGS+=-DHAVE_CASPER LIBADD+= crypto CFLAGS+= -I${SYSROOT:U${DESTDIR}}/usr/include/openssl CFLAGS+= -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L .endif .if ${MK_PF} != "no"