pgcrypto: Add function to check FIPS mode

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: 924d89a354750976cdd271d1dfc6c1e97cbb8851
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2025-01-24T13:18:40Z
Releases: 18.0
pgcrypto: Add function to check FIPS mode

This adds a SQL callable function for reading and returning the status
of FIPS configuration of OpenSSL.  If OpenSSL is operating with FIPS
enabled it will return true, otherwise false.  As this adds a function
to the SQL file, bump the extension version to 1.4.

Author: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Joe Conway <mail@joeconway.com>
Discussion: https://postgr.es/m/8f979145-e206-475a-a31b-73c977a4134c@joeconway.com

Files

Documentation touched

Discussion