Re: Some more hackery around cryptohashes (some fixes + SHA1)

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, Daniel Gustafsson <daniel@yesql.se>
Date: 2021-01-23T02:37:23Z
Lists: pgsql-hackers
On Fri, Jan 22, 2021 at 03:50:04PM +0200, Heikki Linnakangas wrote:
> Leftover reference to "contrib/pgcrypto/sha1.h"
> 
> Other than that, looks good to me.

Thanks!  I have looked at that again this morning, and this was still
one indentation short.  I have also run more tests with different
combinations of --with-openssl and --with-uuid just to be sure, and
applied it.
--
Michael

Commits

  1. Introduce SHA1 implementations in the cryptohash infrastructure

  2. Improve some code around cryptohash functions