From nobody Thu Mar 09 17:12:11 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 4PXbMd0j4qz3x8mW; Thu, 9 Mar 2023 17:12:13 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PXbMd0FPtz4F5v; Thu, 9 Mar 2023 17:12:13 +0000 (UTC) (envelope-from bapt@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678381933; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ix6Va3mwWYN6oLHtxHOiOstw71ksNQbpFutdlt7HQ6o=; b=o1VR/B+MaFq4M43KeEIU0Er/CcH8UQifK+384jcZY4yDbOg/6bDUejcoldkMrel/oVwNrM klzoNLlo/IuYePVJcG3kS4b/nZg0+3m8hgOXjDk5f+my4MfXWctvDSZhqiSAiiN/NhyftQ 2PSxeCVllQ7C2xCbNkT3gHggUUoSecDsKrbbfVU9y3AnFzJasY2PcECu0cpu+npGTosmcs 5Bu30URfxnKMwOhsJh1FZT70Hj/nefmQOQP05g2flCkEHuiT87VQBeuIsZV9gvOZJQPEgy CH1D6EA7zD9WjxjtvvaJiEeMVGVcnW9BzLZS/n0sxXWaieCHrHq1iftJeX+eng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678381933; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ix6Va3mwWYN6oLHtxHOiOstw71ksNQbpFutdlt7HQ6o=; b=e+87lrnXhawBOudRTBhkREPvBLLV/Yi5X52NmEZiF1Q7DsFxYsfYUFrBZKE5ZXqdOHTz2J iDb3L/tU5upKO8uE1gsIduEiRYVhMv7RBTzYBJZ6lPnmL9X2Yl7G+UKeAYbtk7pTrqQoU4 8gtzwIBvGlDao5gWOrK0LSwzMOjKex1AQiZvy2Z9Jnk2lL5aq5jOnfJhr9q3qPw0QjRihA dBZoLqsD0YIiiDNXD7Nt6GbGS1x6BlZyEmdNEcrY9j+b4Enp+mxIC+iOkspfLaFeZUD6P0 RJCPfck/vQF07BvmnxfKgnjJBX90w1etbdsGYqwQqP+fY9oJrMncgPcMWCqQcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678381933; a=rsa-sha256; cv=none; b=gETUozCiGb/QdxP7saaz3Js/8ERA6rOqCqQdbC6AS5OysA7t8vrD/lBUOircyyfXkaNw7C ZVrdgpHNZQUEF5KD7NHFpz1NW1VZKczTBms9MPen7qaJa/2ECI7OBfptAWZ5DFPUoH26Su VGgpxwWz9uDMCUDvSSL7mtn1fqEKHNOff94mP80+kr4HNu6M9E3HP6QbQ/7kf8t6ARsXXG VM6zMZCA1Ano5wkWA1h8jg+v64TM/mSjqh6orq50ClkslhOCZrpqHsdDQb5koICTwMgSzL pcCQUcLNb1atqWmEBEx8+NQ020G3dleAOo9z+qNze3TWZH3fh/kJHNxsvAMhfQ== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (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) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PXbMc5rPhzZVJ; Thu, 9 Mar 2023 17:12:12 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from [IPv6:::1] (2a02-8428-078f-2201-064e-ef24-a5af-b20a.rev.sfr.net [IPv6:2a02:8428:78f:2201:64e:ef24:a5af:b20a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aniel.nours.eu (Postfix) with ESMTPSA id 5BDB7113556; Thu, 9 Mar 2023 18:12:10 +0100 (CET) Date: Thu, 09 Mar 2023 18:12:11 +0100 From: Baptiste Daroussin To: Kyle Evans CC: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: =?US-ASCII?Q?Re=3A_git=3A_b2654064c2d1_-_main_-_pkg=287=29=3A_?= =?US-ASCII?Q?use_libmd_for_sha256_instead_of_openssl?= User-Agent: K-9 Mail for Android In-Reply-To: References: <202303091643.329GhNWr046904@gitrepo.freebsd.org> Message-ID: <9C78AAF1-6A68-46AE-8017-10CC20A9DFE8@FreeBSD.org> 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: quoted-printable X-ThisMailContainsUnwantedMimeParts: N Le 9 mars 2023 18:00:13 GMT+01:00, Kyle Evans a =C3= =A9crit=C2=A0: >On Thu, Mar 9, 2023 at 10:43=E2=80=AFAM Baptiste Daroussin wrote: >> >> The branch main has been updated by bapt: >> >> URL: https://cgit=2EFreeBSD=2Eorg/src/commit/?id=3Db2654064c2d11a1ee366= 67b3ff8b0f4d2536af74 >> >> commit b2654064c2d11a1ee36667b3ff8b0f4d2536af74 >> Author: Baptiste Daroussin >> AuthorDate: 2023-03-09 16:38:30 +0000 >> Commit: Baptiste Daroussin >> CommitDate: 2023-03-09 16:43:01 +0000 >> >> pkg(7): use libmd for sha256 instead of openssl >> >> OpenSSL 3=2E0 has deprecated the sha256 api, let's use libmd which = has the >> same API instead=2E >> >> In order to avoid the collision in definitions (sha256=2Eh cannot b= e >> included in the same file as a file where openssl headers has been >> included) let's move the sha256 related code in its own file >> >> PR: 270023 >> Reported by: ngie >> --- > >If we're going to link against libmd anyways, any reason to keep these >implementations vs using the provided SHA256_Data and SHA256_Fd? > >Thanks, > >Kyle Evans Nope nom reasons indeed Bapt