summaryrefslogtreecommitdiffstats
path: root/crypto/conf
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-09-21 08:07:34 +0200
committerPauli <paul.dale@oracle.com>2020-09-23 07:28:29 +0200
commit44d2482ba62bf7fc2fd4cfc250ad09e0feaa42da (patch)
tree968b0231029d09c71040c76e66554fbbc0d9ca08 /crypto/conf
parentDOC: remove OPENSSL_CTX from OSSL_DECODER_CTX_new (diff)
downloadopenssl-44d2482ba62bf7fc2fd4cfc250ad09e0feaa42da.tar.xz
openssl-44d2482ba62bf7fc2fd4cfc250ad09e0feaa42da.zip
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();
}