Michael Paquier 15b824da97 Fix and simplify some code related to cryptohashes
This commit addresses two issues:
- In pgcrypto, MD5 computation called pg_cryptohash_{init,update,final}
without checking for the result status.
- Simplify pg_checksum_raw_context to use only one variable for all the
SHA2 options available in checksum manifests.

Reported-by: Heikki Linnakangas
Discussion: https://postgr.es/m/f62f26bb-47a5-8411-46e5-4350823e06a5@iki.fi
2021-01-08 10:37:03 +09:00
..
2017-06-21 15:35:54 -04:00
2021-01-02 13:06:25 -05:00
2019-05-22 12:55:34 -04:00
2019-05-22 13:04:48 -04:00
2016-09-30 14:04:16 -04:00
2019-05-22 13:04:48 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:19:25 -04:00