projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make core code available within the FIPS module
[openssl.git]
/
crypto
/
provider_predefined.c
diff --git
a/crypto/provider_predefined.c
b/crypto/provider_predefined.c
index d14cd5b96ea9454ddc9933061980901777397851..d1423b1c6ce6d0908ca5f8f43fe9380d9e820118 100644
(file)
--- 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;
#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[] = {
const struct predefined_providers_st predefined_providers[] = {
+#ifdef FIPS_MODE
+ { "fips", fips_intern_provider_init, 1 },
+#else
{ "default", ossl_default_provider_init, 1 },
{ "default", ossl_default_provider_init, 1 },
+#endif
{ NULL, NULL, 0 }
};
{ NULL, NULL, 0 }
};