Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast
Date
Msg-id X9GToVd3QmWeNvj8@paquier.xyz
Whole thread Raw
In response to pgsql: Refactor MD5 implementations according to new cryptohash infrast  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast  (Michael Paquier <michael@paquier.xyz>)
List pgsql-committers
On Thu, Dec 10, 2020 at 03:01:20AM +0000, Michael Paquier wrote:
> Refactor MD5 implementations according to new cryptohash infrastructure
>
> This commit heavily reorganizes the MD5 implementations that exist in
> the tree in various aspects.
>
> First, MD5 is added to the list of options available in cryptohash.c and
> cryptohash_openssl.c.  This means that if building with OpenSSL, EVP is
> used for MD5 instead of the fallback implementation that Postgres had
> for ages.  With the recent refactoring work for cryptohash functions,
> this change is straight-forward.  If not building with OpenSSL, a
> fallback implementation internal to src/common/ is used.

And this has broken uuid-ossp.  The switch is quite easy to do as this
module just needs to use cryptohash APIs for MD5.  Will fix in a
minute..
--
Michael

Attachment

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Support subscripting of arbitrary types, not only arrays.
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix compilation of uuid-ossp