git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 790fbda) | patch
Clean up error message reported after \password encryption failure.
2022年1月11日 17:03:06 +0000 (12:03 -0500)
2022年1月11日 17:03:06 +0000 (12:03 -0500)
commit 9cb5518b7ff69ab3bbc422313c69d54696fe8472
Clean up error message reported after \password encryption failure.

Experimenting with FIPS mode enabled, I saw

regression=# \password joe
Enter new password for user "joe":
Enter it again:
could not encrypt password: disabled for FIPS
out of memory

because PQencryptPasswordConn was still of the opinion that "out of
memory" is always appropriate to print.

Minor oversight in b69aba745. Like that one, back-patch to v14.
src/interfaces/libpq/fe-auth.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /