Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKGWe-0002KP-Ga for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Mar 2021 08:18:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lKGWd-0000RV-EC for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Mar 2021 08:18:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKGWc-0000RK-Lx for pgsql-hackers@lists.postgresql.org; Thu, 11 Mar 2021 08:18:31 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKGWa-0006X3-3w for pgsql-hackers@lists.postgresql.org; Thu, 11 Mar 2021 08:18:30 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9A14C5C011B; Thu, 11 Mar 2021 03:18:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 11 Mar 2021 03:18:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=6POECNJFk2nrqcs5f3K1XlqQ0HA t54N2O+OP+bhd9HM=; b=NFi9VZScRw6A0vgsNZt8zqiOgu2qGykUeSmxUNqF9+2 xpgUh8AYxcRHK3gzPhjmkPpWinhy0UVr0RV8d1btptRjUi8L5Cbix/MOqLG1s8Js fEUpNKg+A2mbVhZ3qoPZkDcBqYc6sSHtz1IJhQMXVnqSTNK/1rWQwC53+WKWDhUt 9MAp3u73lMLw9k5Zh8fzp2v08Su0Y3WRf5TjDl97/sn7uEUjd2JWBQG31E2ofeeY GNRW4u1CWJNCUUQG4htq96Sil9AoxVaCW/ZSwVble3MgLZCA7+Wjpumk3VOlHaBR Hukqw0jfxWN5qsy4bXjwTsTb5dVMy4w2sheuuR/y7Cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=6POECN JFk2nrqcs5f3K1XlqQ0HAt54N2O+OP+bhd9HM=; b=f+yENdvR6W0l2sJWm2bszW bRfveu5PMhTcz7xif9qyt1ag7E4hWsISa/IlH0TiN1wObf3WNKfsN4ZkdNTDw0iD VSKsZGlE5MY50r4OOQfyPIb7rtVqfP+MCLmjyPKxjTuRzXkwts2cdP0seXJuPDKm T31LVlSNvdk+VBb3F2vCD9xld2c3v0agcMeuJXgxT1OwDNKDzcfjVt81Kbd6t7hV K3r7v/FVIyGrIf1FZlt0j7btz5wqzwuNDoFggZ94TUKyO0swFOGcRLewdlVW5o2O 69kyUNsv3hcB9rVrwWtTm3FM33uCy63b13Ef2gVX6nlAmlAsvGRf77mckOjFKtBA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudduledguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveej heehieevueeigeelteegleejleeiueeiheegvefhnecukfhppeduuddurddutddvrdduke dtrddukeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 82AE2108005C; Thu, 11 Mar 2021 03:18:23 -0500 (EST) Date: Thu, 11 Mar 2021 17:18:15 +0900 From: Michael Paquier To: Jacob Champion Cc: "pgsql-hackers@lists.postgresql.org" Subject: Re: cryptohash: missing locking functions for OpenSSL <= 1.0.2? Message-ID: References: <8200dc155937c1a7e5d9ea19cc65d95e89d0bc4d.camel@vmware.com> <2b80785b476955cfb6f00c3e3e69f5908d3d7579.camel@vmware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KcSXOJr8DNRaF02H" Content-Disposition: inline In-Reply-To: <2b80785b476955cfb6f00c3e3e69f5908d3d7579.camel@vmware.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --KcSXOJr8DNRaF02H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 10, 2021 at 05:05:38PM +0000, Jacob Champion wrote: > On Wed, 2021-03-10 at 17:21 +0900, Michael Paquier wrote: > > Do you mean something like the attached? >=20 > Yes! Patch LGTM. Thanks Jacob for double-checking. I have looked at that again slowly today, and applied it after some light adjustments in the comments. -- Michael --KcSXOJr8DNRaF02H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmBJ0kcACgkQnvQgOdby QH1rVQ//RVhR6Tj6D597jawRxmyE2EudAXanro0bEIDuddLjZLhLjyNfTjt8xImS 3OzVa7WVJaFVWeyZr6VVmeyrc0Cli1FGj1uwH7rdcg4idALwyf9UJ79orPBaArdl IyoES31WLZwI2bQeOeCnEmOoDSXC/5c6KETlZPFG/+xA9/2bYCD7awhVbb4ELw9c rASvcBC49iaJBI9K9H1TwPeiAny5F/uLEogfS3b973LofKyqwUQzlxy6yUHAMl6F RXK9qguDeJ19m+mvOVzQZTqJRWZVaLu+Pv1ugP0dNxyZictGaO3g7eFTV7U4eaBE JkzDCN8x/ehUNuBKjedGrDd6XikCPlQN66HLmzOgDdpIV+0w/MYG25nwYWoURUBy wI52svty4IqJGZnr380ozXTYBKTr1SX742hJUVVm4hEuYWgtUOUK79Vc3lhwgzbw QrPDve5jr/PWL1ZgTM6Vjigq3wjYw69kD+Vyp3BHR11zuRovmCZNQ1BxT0ory0SH niuzQf68JSTZpJ7vNnO+MqiU71ri2TxrocNVYlRmIoj/ygCC4MSWNqUb/YtJ4P4S 9kQl/GhunGRvl1HcbbB8F8mr91Q/EUMUf8ID+V3zIKH59nw9UrGe2pCjRIZsfn8r /PBR1h4n/Ln03b44tmBsQ2srqflq5kSubhrG0YvovPW8M0EnUXI= =DByA -----END PGP SIGNATURE----- --KcSXOJr8DNRaF02H--