Allow tests to pass in OpenSSL FIPS mode (rest)
Peter Eisentraut <peter@eisentraut.org>
Allow tests to pass in OpenSSL FIPS mode (rest) This adds alternative expected files for various tests. In src/test/regress/sql/password.sql, we make a small change to the test so that the CREATE ROLE still succeeds even if the ALTER ROLE that attempts to set a password might fail. That way, the roles are available for the rest of the test file in either case. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/flat/dbbd927f-ef1f-c9a1-4ec6-c759778ac852%40enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/passwordcheck/expected/passwordcheck_1.out | added | +18 −0 |
| contrib/uuid-ossp/expected/uuid_ossp_1.out | added | +135 −0 |
| src/test/regress/expected/md5_1.out | added | +35 −0 |
| src/test/regress/expected/password_1.out | added | +152 −0 |
| src/test/regress/expected/password.out | modified | +4 −2 |
| src/test/regress/sql/password.sql | modified | +4 −2 |
Discussion
- Allow tests to pass in OpenSSL FIPS mode 45 messages · 2022-10-04 → 2025-09-14