summaryrefslogtreecommitdiffstats
path: root/doc/man7/EVP_RAND-SEED-SRC.pod
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-02-26 10:56:46 +1000
committerPauli <ppzgs1@gmail.com>2021-02-28 17:25:49 +1000
commitf8a5822cff0b05df8fa937b5aca72ef5b4c1b47a (patch)
treed22dab0afed98afb10bccc6bac8b431d378d08d0 /doc/man7/EVP_RAND-SEED-SRC.pod
parent7198bd1a8f44be994106d3dba4bbb3362147b144 (diff)
doc: update documenation with params argument on DRBG instantiate calls
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14310)
Diffstat (limited to 'doc/man7/EVP_RAND-SEED-SRC.pod')
-rw-r--r--doc/man7/EVP_RAND-SEED-SRC.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man7/EVP_RAND-SEED-SRC.pod b/doc/man7/EVP_RAND-SEED-SRC.pod
index f301ed25f9..4d21e4cd6e 100644
--- a/doc/man7/EVP_RAND-SEED-SRC.pod
+++ b/doc/man7/EVP_RAND-SEED-SRC.pod
@@ -63,7 +63,7 @@ A context for the seed source can be obtained by calling:
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_DRBG_PARAM_CIPHER,
SN_aes_256_ctr, 0);
*p = OSSL_PARAM_construct_end();
- EVP_RAND_set_ctx_params(rctx, params);
+ EVP_RAND_instantiate(rctx, strength, 0, NULL, 0, params);
EVP_RAND_generate(rctx, bytes, sizeof(bytes), strength, 0, NULL, 0);