From nobody Wed May 24 18:55:30 2023 X-Original-To: dev-commits-src-all@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 4QRL3l03VLz4TNmG; Wed, 24 May 2023 18:55:31 +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 4QRL3k6d56z4V5g; Wed, 24 May 2023 18:55:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684954530; 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=AbZGrUdfo7k72fTS9/griBYc4URTvhqiKO+K4stjsPI=; b=LM/cCpsZijI5uagNtZxuFQZkpjxE3vXA8JYgHcEnxIsdCzedGCblCLXlT+mMpz5CDN8Zam uxzCz3bagSFvrGJiewULdHQMfRIRhvbJMSiF820UOPNei5PYfKOTTGZroB8SQYgWJsvBz+ CfPvpohTVyAJxlCwc0HIfHJACnoVp8BYJ8yPDy9FQhVx0PqNNZNnAPzJtU7gX9CO5o+Abi fdpyv7E7aY5RSF2UJPc3tDuVx0tYVFT4CV7mbwu0JKbGxujYzKvPoxN4gSyBG+QiuD/Ht7 O9iNDH6Vtoyo3ZmWrKBRJEQu4fEnb7QKBIzt5KJaK5C17mAysTa5+/AwzLOfjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684954530; 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=AbZGrUdfo7k72fTS9/griBYc4URTvhqiKO+K4stjsPI=; b=Rb+vzducGVzcD+xFwtLXsy2dOqt972++FN/HiCgfHbTOxuSwxYeQRX54Qz+oxZT6mJKMcm uXdTbeJkg5fAktfobsKbHBtZIgjCr4KfpjLPHVtTmVInKRy+sWhnr27ReefuI6YKKg8KYW jQADzupo3N/ODGH1YeaUUkRx8swiSt1aeUfc+4f37Z9kzuN8dk4xXiCD3C00EcyMJnrB5v Ohz59tQeUoHMejBL9F7xmGKsioNH03MWiYgCpzkSGf427DSpxA+QdoG+Chf8o90EvygXdb SBd1vEo1oQ+dcZC8Tqy/BXrBJtXsGEVb4poux2czyVGbUngDCrPly0WhCt0QDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684954530; a=rsa-sha256; cv=none; b=MAsotQoBdCFDZaLIyyivjRfKwtq5tsGpDGWRghK241Zk6y09vV/dDY4wIpyBP9CuL9aSkQ 4WhOrdfj7+oC2s+NiUutuJnOvm1njJYBC9I5nFZuWBQCEoRjhlhO4zd/DVJF6lGMbou8Re ddjmYNwgl7GZORPAG7GoDKrLcZCUPRPncEXWOfRnMIpgEfN+yHwysk0bsmkjQ90v6MwkJB O9tfkQsIztR6ADIBJbf2HwMSOyLLicHnNo7ityTRUQNCS6K49fVaMwELVi/PIIKo0cJXZJ A02UfL0APD9s1vh60IlC2bsT7PbdqGMSjEX7h3dQlFginZNe60Y4/ZS4VMhgjA== 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 4QRL3k5kSyztkw; Wed, 24 May 2023 18:55:30 +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 34OItUIf033516; Wed, 24 May 2023 18:55:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34OItUid033515; Wed, 24 May 2023 18:55:30 GMT (envelope-from git) Date: Wed, 24 May 2023 18:55:30 GMT Message-Id: <202305241855.34OItUid033515@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: 96e6e5b5fe9b - main - ppp: specify OpenSSL 1.1 APIs List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 96e6e5b5fe9b510fd9a416f486860c2acad4219b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=96e6e5b5fe9b510fd9a416f486860c2acad4219b commit 96e6e5b5fe9b510fd9a416f486860c2acad4219b Author: Pierre Pronchery AuthorDate: 2023-05-09 13:01:40 +0000 Commit: Ed Maste CommitDate: 2023-05-24 18:55:07 +0000 ppp: 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 change 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/ppp/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile index a7a35d49295e..3e70da14eafc 100644 --- a/usr.sbin/ppp/Makefile +++ b/usr.sbin/ppp/Makefile @@ -66,6 +66,7 @@ SRCS+= id.c CFLAGS+=-DNODES .else SRCS+= chap_ms.c mppe.c +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L LIBADD+= crypto .endif