pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast
Date: Thu, 10 Dec 2020 12:18:57 +0900
Message-ID: <X9GToVd3QmWeNvj8@paquier.xyz> (raw)
In-Reply-To: <E1knCCm-00072D-DJ@gemulon.postgresql.org>
References: <E1knCCm-00072D-DJ@gemulon.postgresql.org>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (3+ messages)  latest in thread

Message-ID: <X9GToVd3QmWeNvj8@paquier.xyz>
Permalink:  ../X9GToVd3QmWeNvj8@paquier.xyz/
Also on:    postgresql.org/message-id/X9GToVd3QmWeNvj8@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast
  In-Reply-To: <X9GToVd3QmWeNvj8@paquier.xyz>
  References: <E1knCCm-00072D-DJ@gemulon.postgresql.org> <X9GToVd3QmWeNvj8@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox