From nobody Tue Jul 04 19:08:21 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 4QwXPf2XHxz4lGRj; Tue, 4 Jul 2023 19:08:22 +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 4QwXPf0s74z4LHV; Tue, 4 Jul 2023 19:08:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688497702; 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=VwriQhmYf+QTRAQBcorqYwwDZcawbRaRCYWN2daay94=; b=mirz9IhEk1u6pgQEqNrE8RG81ZD6JM+5fUtGnGGupWyI+OBbiTVHgC0a497n+efq6YlBu6 aMNl6i32/h63vybKSft/CUsO1eWRaNNnATvbI4P3lvzo07m4KKoUAZDmrBrGAD0a6TUIgS htbKglVZGePoohVdX9euWZZw5f+B1j+nEEHk5sT50q3TLUyF7mSZpNjvWvued5k/6Tgayx k91VFkkXY8VHy0wLe+WLtHdx6eoQkNYh+/geKGCCOdZrP8I+lDEx5vlzJ4ralRxxfpJDj9 veH49BOSAbUoQXMLqSv/3bQRG3dRIxBUoSoZRYHVGWjqIs09ii1BE7XuWLZM6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688497702; 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=VwriQhmYf+QTRAQBcorqYwwDZcawbRaRCYWN2daay94=; b=oo5hVRsPlm0q0ki+zzO+949HpbnU3JmXTlCcX65aixV2p0TPAF81lxgaYcOWjlvGOpmCDI J+NqPxXnnSCetmTePUlYBSdtxnKnkmT1RMWE3I2ZfkY8UzPqufwtNBO+AmEo6u3za2VPbY WlIO+8SL7i0h+bn6VwN7al3uxlDB2jsedHjkoC6K6Mi5E5A1eJuE3kRnjXH6wn/KvGgTEc Q6eze1lCcb1AN4tNIFGvcMAo0IAgDnn5D/IhnZ1iiw3lY32T7SMNAHunbt5DlbxKtJIgKU 2N5kto1f4lReUxyKWQmM8E1D4uyzDIzgD3qlA40yNTraLo47HTuQMARWr6fyOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688497702; a=rsa-sha256; cv=none; b=Ph2Nw7YDGFJ+CeaL3ZIGYKYAbmgjXEzdAVmTOKjuqqotK9DxxLrgLtk2XsyqxRX7Sg9asC F1pdHQeKUdtPiedR+PRo9iCvCEpuwDW98k/MvqLdZgfM+qBHSF2LtqxSUAUi99MJ7JFVLR f0qkk3qj1ETyiXZLLMafCjRM+DofJ9TwTByObyXhvoTqYfQqQqoVyKyKSCZ5ueL8xFLr88 F7ItPzZ5QiALvcdl0xeZsmHMb14S2VYvPTnVS20FZluBgUyhNzTk3r+4Kyt3z9cnXAN+fo oJAZE+FtQgE9R90AWBsS3mmf9kmj0Hi1HCM/mFwc90f49l2TIPINd/8IgVULLQ== 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 4QwXPd6mtDzl1Z; Tue, 4 Jul 2023 19:08:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 364J8LII081014; Tue, 4 Jul 2023 19:08:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 364J8LTs081013; Tue, 4 Jul 2023 19:08:21 GMT (envelope-from git) Date: Tue, 4 Jul 2023 19:08:21 GMT Message-Id: <202307041908.364J8LTs081013@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 0b27be500a94 - main - libcrypto: expand the common Makefile for providers 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0b27be500a947b76385a4a179e6f61d83af6adb3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=0b27be500a947b76385a4a179e6f61d83af6adb3 commit 0b27be500a947b76385a4a179e6f61d83af6adb3 Author: Pierre Pronchery AuthorDate: 2023-06-30 17:20:31 +0000 Commit: Mark Johnston CommitDate: 2023-07-04 19:04:56 +0000 libcrypto: expand the common Makefile for providers OpenSSL 3 supports a modular architecture, allowing different providers to bring specific implementations of cryptographical algorithms. This change adds mandatory source files to every provider. Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/787 --- secure/lib/libcrypto/modules/Makefile.inc | 4 +++- secure/lib/libcrypto/modules/fips/Makefile | 3 +-- secure/lib/libcrypto/modules/legacy/Makefile | 6 +----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/secure/lib/libcrypto/modules/Makefile.inc b/secure/lib/libcrypto/modules/Makefile.inc index 9047c938ef1d..6e74ff36a9cf 100644 --- a/secure/lib/libcrypto/modules/Makefile.inc +++ b/secure/lib/libcrypto/modules/Makefile.inc @@ -9,7 +9,9 @@ CFLAGS+= -I${LCRYPTO_SRC}/include CFLAGS+= -I${LCRYPTO_SRC}/providers/common/include CFLAGS+= -I${LCRYPTO_SRC}/providers/implementations/include -.include +# common +SRCS+= provider_err.c provider_ctx.c +SRCS+= provider_util.c .PATH: ${LCRYPTO_SRC}/providers \ ${LCRYPTO_SRC}/providers/common diff --git a/secure/lib/libcrypto/modules/fips/Makefile b/secure/lib/libcrypto/modules/fips/Makefile index 84123381bb1d..510d017d27ab 100644 --- a/secure/lib/libcrypto/modules/fips/Makefile +++ b/secure/lib/libcrypto/modules/fips/Makefile @@ -238,8 +238,7 @@ SRCS+= keccak1600.c .endif # common -SRCS+= provider_err.c provider_ctx.c -SRCS+= provider_util.c capabilities.c bio_prov.c digest_to_nid.c \ +SRCS+= capabilities.c bio_prov.c digest_to_nid.c \ securitycheck.c provider_seeding.c SRCS+= securitycheck_fips.c diff --git a/secure/lib/libcrypto/modules/legacy/Makefile b/secure/lib/libcrypto/modules/legacy/Makefile index 3eef2549d44f..c98ca9553e20 100644 --- a/secure/lib/libcrypto/modules/legacy/Makefile +++ b/secure/lib/libcrypto/modules/legacy/Makefile @@ -2,11 +2,7 @@ SHLIB_NAME?= legacy.so -SRCS= legacyprov.c prov_running.c - -# common -SRCS+= provider_err.c provider_ctx.c -SRCS+= provider_util.c +SRCS+= legacyprov.c prov_running.c # ciphers SRCS+= ciphercommon.c ciphercommon_hw.c ciphercommon_block.c \