Re: Improve error handling of HMAC computations and SCRAM
Sergey Shinderuk <s.shinderuk@postgrespro.ru>
From: Sergey Shinderuk <s.shinderuk@postgrespro.ru>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-01-13T08:26:05Z
Lists: pgsql-hackers
On 13.01.2022 10:24, Michael Paquier wrote: > Thanks for the review. The comments about pg_hmac_ctx->data were > wrong from the beginning, coming, I guess, from one of the earlier > patch versions where this was discussed. So I have applied that > independently. > > I have also spent a good amount of time on that to close the loop and > make sure that no code paths are missing an error context, adjusted a > couple of comments to explain more the role of *errstr in all the > SCRAM routines, and finally applied it on HEAD. Thanks! -- Sergey Shinderuk https://postgrespro.com/
Commits
-
Improve error handling of HMAC computations
- 5513dc6a304d 15.0 landed
-
Fix incorrect comments in hmac.c and hmac_openssl.c
- 3c1ffd02dd05 14.2 landed
- 87f29f4fcc4e 15.0 landed
-
Fix comment related to pg_cryptohash_error()
- af8d530e4758 14.2 landed
- 9a3d8e188667 15.0 landed