From nobody Mon May 08 19:45:56 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 4QFWxJ2Twdz4BHxl; Mon, 8 May 2023 19:45:56 +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 4QFWxJ21D1z461B; Mon, 8 May 2023 19:45:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683575156; 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=s78UOqfUO3x0X/kOFnfMGF775L1xNtgyXqLw7xRsg9M=; b=fNHhXFGXmy0X/U5YfcaU6V4kgoNjdCRWm/H2nRFceYV/+LerQtjiX45+aTVrNqmEc/Ueno +E6e82HuUISKMIMs3r0dR4ic0cbRU39b2QVAHbc15+RWZPLaM8KsJ/Wbun01dqzcsiiGW7 9ddcmPa+0t3lS/sW/B+DFWVKO+gGjrT18xogTvBkOkkw6NS71oThtnlpgwnpYjrhXm8Zlu YghC87cU+k6Vs0feQqCp3fSY60zuGAN8EPSKUBw571uYIlcvmtz75CYJmplPKr8LKoM4iO eiV3mkjzNuBs+/D4ASmieurDrlciCuJxL3iUItoVgnP5lHujMSS9vr2S6GnTjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683575156; 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=s78UOqfUO3x0X/kOFnfMGF775L1xNtgyXqLw7xRsg9M=; b=M+d/e6xN9VfWY1baBOei2YltI2P4XsB7e3Uzmy5MRjBL9GdEY7+b5MbtnrjV5sxTqL/3Bj 1OTyhrsDrP8BaeqUR7nqMJ4mqh7gUHiTO2SEg5ooT/0PHRPth1xzDSwXDG7LzpShkqQYYi l3qcFFxAlKhCgq5aOiuf5D4nh/3sdvcvgwIB8R0+rXI+lO1do9/OgJdxou+AoV1nmUdvke D6cEO/7djPCcyibADnS9peSie0jBINKSTAOKeHZxnq93b6WmjqDlh8B5yq2TpEEMqwGWRH gGjftePbp8oSAZs+ARwVB4LCclmnVdRbYz11MLNUB3rKRVe1kpH3jy/XpsC7Ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683575156; a=rsa-sha256; cv=none; b=i6Bixs0RieyOODxp60FaYZmA7tBfweBcDcouGHH9Yt0nmnDZtOdui3q1ixpo+dU1tFYdTd JDQJX2RRBMwzM5rUHnd1JbM2pbKIEfjcqW/usMIm2mjgvGqeEVcBZNeo1msTWo/z5UoWfm EosxuHdCAHfaM/jm8xtBnSxFFMBaOsA5dfbii94842R2864Dqc21WMgRmgNaPoyWA6LUaS BH7mFhewrWHsFptbnc6OpzZaR+lgQbgbLBJdnB5zxP9OgIWGITyKh6qjImdvP6vWcOPFaq 4fDWPqMjS9OV6b9i4ZFqkDa9lxCRNJsGOLwngjMOmu8Af//fep6sOrrLrjVvlA== 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 4QFWxJ14Nnz1D4c; Mon, 8 May 2023 19:45:56 +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 348JjuGf072012; Mon, 8 May 2023 19:45:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 348Jjuha072011; Mon, 8 May 2023 19:45:56 GMT (envelope-from git) Date: Mon, 8 May 2023 19:45:56 GMT Message-Id: <202305081945.348Jjuha072011@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: 9c6f3dfda6dd - main - bhyve: specify OpenSSL 1.1 API 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: 9c6f3dfda6dd77772c669e3a235b451c9eb467eb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=9c6f3dfda6dd77772c669e3a235b451c9eb467eb commit 9c6f3dfda6dd77772c669e3a235b451c9eb467eb Author: Ed Maste AuthorDate: 2023-05-08 12:09:26 +0000 Commit: Ed Maste CommitDate: 2023-05-08 18:32:27 +0000 bhyve: specify OpenSSL 1.1 API 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 can then switch bhyve to use OpenSSL 3.0 APIs. Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39998 --- usr.sbin/bhyve/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile index 9741d5f66ac1..65a32d2fb0b9 100644 --- a/usr.sbin/bhyve/Makefile +++ b/usr.sbin/bhyve/Makefile @@ -111,6 +111,7 @@ LIBADD+= netgraph CFLAGS+=-DNO_OPENSSL .else LIBADD+= crypto +CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L .endif CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/e1000