Fix memset invocation

It was setting sha_buf_tmp but sizing it by sizeof sha_buf.  These
happen to be the same size, so it's not an actual problem, but for
correctness make the sizeof match.

Reported-by: Sehrope Sarkuni <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/a035c67f-4aa8-42e0-bb24-7b5abe927af4%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2a2dab67dc40a41a003545308423c1d3def02dea

Modified Files
--------------
contrib/pgcrypto/crypt-sha.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Reply via email to