diff options
author | Pauli <paul.dale@oracle.com> | 2020-10-30 15:54:03 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-11-20 08:24:21 +1000 |
commit | 08edd447c97854d6548c15149de90d6bd3ddd47b (patch) | |
tree | 005070d7bc73f7e588741c01522fb2f500aa711e /providers/defltprov.c | |
parent | 0d4460d27ea2fef46f02fa94a60717e9d168ed96 (diff) |
prov: move the entropy source out of the FIPS provider
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/13226)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r-- | providers/defltprov.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index b309ba798c..e5d7fe4877 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -19,6 +19,7 @@ #include "prov/providercommon.h" #include "prov/implementations.h" #include "prov/provider_util.h" +#include "prov/seeding.h" #include "internal/nelem.h" /* @@ -527,7 +528,8 @@ int ossl_default_provider_init(const OSSL_CORE_HANDLE *handle, OSSL_FUNC_core_get_libctx_fn *c_get_libctx = NULL; BIO_METHOD *corebiometh; - if (!ossl_prov_bio_from_dispatch(in)) + if (!ossl_prov_bio_from_dispatch(in) + || !ossl_prov_seeding_from_dispatch(in)) return 0; for (; in->function_id != 0; in++) { switch (in->function_id) { |