From 3593266d1c924ea595a1074e78381890f964392c Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 10 Apr 2019 15:01:40 +0100 Subject: Make core code available within the FIPS module Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/8728) --- crypto/provider_predefined.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crypto/provider_predefined.c') diff --git a/crypto/provider_predefined.c b/crypto/provider_predefined.c index d14cd5b96e..d1423b1c6c 100644 --- a/crypto/provider_predefined.c +++ b/crypto/provider_predefined.c @@ -11,8 +11,13 @@ #include "provider_local.h" OSSL_provider_init_fn ossl_default_provider_init; +OSSL_provider_init_fn fips_intern_provider_init; const struct predefined_providers_st predefined_providers[] = { +#ifdef FIPS_MODE + { "fips", fips_intern_provider_init, 1 }, +#else { "default", ossl_default_provider_init, 1 }, +#endif { NULL, NULL, 0 } }; -- cgit v1.2.1