From nobody Tue May 09 13:46:18 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 4QFzvt6Msmz4BD2Q; Tue, 9 May 2023 13:46:18 +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 4QFzvt5qv2z3Hm3; Tue, 9 May 2023 13:46:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683639978; 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=HRZP7/LdIiIaba2QuU6jLJSdUoQcX0glQhAIA0s5bks=; b=TPP7l4sNOS8V1h4CMQcFa/aVKgZK8BaQznhzHWHco9LOHswDA9iG7NbnxZ5VFIR7RcZqwm ZaMsMpGNBcrSm6yopZMspEitKUHcgqBU/d+7lxwEoFaGg/jMNEn9wQObq4yVGjDurmUOcE Nch+/Ir9DzDf8xwl5BshSqMWANVlJp01/X0DX+3rvifcMVoNLVV3tVaNXy4vadd25dOpkA 3/tC3pWRO0IkTNZ4sLEKL2bYC4zSeXhhlu8GGmOM8VeZ3q5lTbJNV2UCoQ3VPMT4iqCHwC OfuxaW+hfM6B0cwwoT/DnnTWzYyD0HELtzJrRdHCL2l6BMl/Gh8Lw04R34OCmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683639978; 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=HRZP7/LdIiIaba2QuU6jLJSdUoQcX0glQhAIA0s5bks=; b=l/iSY1FL57YLVEl6QgOVPjFtlaUyn3HBJ5zbZkfIlfKN8huPfErhvcZf3U6x5jhCUZlct1 xJm2oCN4OS4paPWze0zzVg3+fVTCrX07UZz9FMvYR3h2xi6/3O1Ix1VIOebPsZshGxMrgH ACRbJ4inFVZrg9PoFfQ/yBSXPTMiGFgGJ5gXGg6jOEBClO6RORvJGY4DD6wB36OUkLgIa2 /VDRdudwU5Uzew9nNHE9inIJMG0CTiInEOB2O4bXk5f7OcV6aMYA13njhQyqMCaaYDJYPb 23WUfAQo1gMk/uulNeIr1vAnCkwlsrRRuX+YC659xX/WrRHsTTEiqQzGyUjG+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683639978; a=rsa-sha256; cv=none; b=p+EWFe1Eq6kwGjUKZW754fJaUGZH0eZBAzMP6xsTF/DtVPmQuJ3SLtDykcyHADY+UQOQXX XNJw/WjbnoPosIxqFqUnEwOqeVHlvuZ4pAG/KuVbWaa7hCO+5Txv9AG2pyQ9xlAH2mRKWH 99hrPsIfZIODYKAW1R2utdemtSzNHLTczv8zuJFxCCaOYzvDb2G9pc0ZX55/wwk0IKh7l1 AEp7oQrjYVJjERVOSVcho57pBwGQ1FSobXjLrs/OWJBYw0/78994xrwgYC7gxRziaseN7S mzxV+ANn5M8EUXX42OzNCpsYFu9CqNIhgNqFaI90yzioVwdUgQXtqDr4rGQNvg== 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 4QFzvt4v6szVFS; Tue, 9 May 2023 13:46:18 +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 349DkIEc049195; Tue, 9 May 2023 13:46:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 349DkI41049193; Tue, 9 May 2023 13:46:18 GMT (envelope-from git) Date: Tue, 9 May 2023 13:46:18 GMT Message-Id: <202305091346.349DkI41049193@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: 469c325a49dc - main - libfido2: specify OpenSSL 1.1 API 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: 469c325a49dc5a522fed21e2ee8ff91e5c6e5c64 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=469c325a49dc5a522fed21e2ee8ff91e5c6e5c64 commit 469c325a49dc5a522fed21e2ee8ff91e5c6e5c64 Author: Ed Maste AuthorDate: 2023-05-09 12:44:23 +0000 Commit: Ed Maste CommitDate: 2023-05-09 13:46:09 +0000 libfido2: 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 libfido2 update may switch to use OpenSSL 3.0 APIs. Sponsored by: The FreeBSD Foundation --- lib/libfido2/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libfido2/Makefile b/lib/libfido2/Makefile index a9e1c526d45d..86ac1153f384 100644 --- a/lib/libfido2/Makefile +++ b/lib/libfido2/Makefile @@ -64,6 +64,7 @@ CFLAGS+= -DHAVE_SYS_RANDOM_H CFLAGS+= -DHAVE_TIMESPECSUB CFLAGS+= -DHAVE_TIMINGSAFE_BCMP CFLAGS+= -DHAVE_UNISTD_H +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L CFLAGS+= -DTLS=__thread CFLAGS+= -D_FIDO_MAJOR=1 CFLAGS+= -D_FIDO_MINOR=10