summaryrefslogtreecommitdiff
path: root/crypto/conf
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-09-21 16:07:34 +1000
committerPauli <paul.dale@oracle.com>2020-09-23 15:28:29 +1000
commit44d2482ba62bf7fc2fd4cfc250ad09e0feaa42da (patch)
tree968b0231029d09c71040c76e66554fbbc0d9ca08 /crypto/conf
parent11b93a1c82f2cb2be67b2d08cac4168a16555364 (diff)
downloadopenssl-new-44d2482ba62bf7fc2fd4cfc250ad09e0feaa42da.tar.gz
Add a "random" configuration section.
This permits the default trio of DRBGs to have their type and parameters set using configuration. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12931)
Diffstat (limited to 'crypto/conf')
-rw-r--r--crypto/conf/conf_mall.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/conf/conf_mall.c b/crypto/conf/conf_mall.c
index 123e2abaad..5d24a36cd9 100644
--- a/crypto/conf/conf_mall.c
+++ b/crypto/conf/conf_mall.c
@@ -18,6 +18,7 @@
#include <openssl/asn1.h>
#include <openssl/engine.h>
#include "internal/provider.h"
+#include "crypto/rand.h"
#include "conf_local.h"
/* Load all OpenSSL builtin modules */
@@ -33,4 +34,5 @@ void OPENSSL_load_builtin_modules(void)
EVP_add_alg_module();
conf_add_ssl_module();
ossl_provider_add_conf_module();
+ ossl_random_add_conf_module();
}