Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast
Date: 2020-12-10 03:18:57
Message-ID: X9GToVd3QmWeNvj8@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-12-10 03:53:46 pgsql: Fix compilation of uuid-ossp
Previous Message Tom Lane 2020-12-10 03:14:01 Re: pgsql: Support subscripting of arbitrary types, not only arrays.