diff options
Diffstat (limited to 'contrib/pgcrypto/pgcrypto.c')
-rw-r--r-- | contrib/pgcrypto/pgcrypto.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/pgcrypto/pgcrypto.c b/contrib/pgcrypto/pgcrypto.c index ebd76eed702..ee2a010e402 100644 --- a/contrib/pgcrypto/pgcrypto.c +++ b/contrib/pgcrypto/pgcrypto.c @@ -450,6 +450,14 @@ pg_random_uuid(PG_FUNCTION_ARGS) return gen_random_uuid(fcinfo); } +PG_FUNCTION_INFO_V1(pg_check_fipsmode); + +Datum +pg_check_fipsmode(PG_FUNCTION_ARGS) +{ + PG_RETURN_BOOL(CheckFIPSMode()); +} + static void * find_provider(text *name, PFN provider_lookup, |