From f8a5822cff0b05df8fa937b5aca72ef5b4c1b47a Mon Sep 17 00:00:00 2001 From: Pauli Date: Fri, 26 Feb 2021 10:56:46 +1000 Subject: doc: update documenation with params argument on DRBG instantiate calls Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14310) --- doc/man7/EVP_RAND-TEST-RAND.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/man7/EVP_RAND-TEST-RAND.pod') diff --git a/doc/man7/EVP_RAND-TEST-RAND.pod b/doc/man7/EVP_RAND-TEST-RAND.pod index 9eb7001d64..c5f1a4d526 100644 --- a/doc/man7/EVP_RAND-TEST-RAND.pod +++ b/doc/man7/EVP_RAND-TEST-RAND.pod @@ -90,7 +90,7 @@ A context for a test generator can be obtained by calling: *p++ = OSSL_PARAM_construct_octet_string(OSSL_RAND_PARAM_TEST_NONCE, nonce, sizeof(nonce)); *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); -- cgit v1.2.3