From: slontis Date: Tue, 19 Jul 2022 03:40:34 +0000 (+1000) Subject: Fix docs related to EVP_RAND_CTX_new() that were not passing the parent X-Git-Tag: openssl-3.2.0-alpha1~1643 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a7528cc7c3b80e00e3093f5d32525574138a33e;p=thirdparty%2Fopenssl.git Fix docs related to EVP_RAND_CTX_new() that were not passing the parent parameter. Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/18809) --- diff --git a/doc/man7/EVP_RAND-CTR-DRBG.pod b/doc/man7/EVP_RAND-CTR-DRBG.pod index 1012494250f..3e10f189d3b 100644 --- a/doc/man7/EVP_RAND-CTR-DRBG.pod +++ b/doc/man7/EVP_RAND-CTR-DRBG.pod @@ -63,7 +63,7 @@ does not. A context for CTR DRBG can be obtained by calling: EVP_RAND *rand = EVP_RAND_fetch(NULL, "CTR-DRBG", NULL); - EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand); + EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL); =head1 EXAMPLES diff --git a/doc/man7/EVP_RAND-HASH-DRBG.pod b/doc/man7/EVP_RAND-HASH-DRBG.pod index 62ded203ad0..3361f7d8a57 100644 --- a/doc/man7/EVP_RAND-HASH-DRBG.pod +++ b/doc/man7/EVP_RAND-HASH-DRBG.pod @@ -57,7 +57,7 @@ These parameters work as described in L. A context for HASH DRBG can be obtained by calling: EVP_RAND *rand = EVP_RAND_fetch(NULL, "HASH-DRBG", NULL); - EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand); + EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL); =head1 EXAMPLES diff --git a/doc/man7/EVP_RAND-SEED-SRC.pod b/doc/man7/EVP_RAND-SEED-SRC.pod index 516fa64f577..8bbd5794720 100644 --- a/doc/man7/EVP_RAND-SEED-SRC.pod +++ b/doc/man7/EVP_RAND-SEED-SRC.pod @@ -39,7 +39,7 @@ These parameters work as described in L. A context for the seed source can be obtained by calling: EVP_RAND *rand = EVP_RAND_fetch(NULL, "SEED-SRC", NULL); - EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand); + EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL); =head1 EXAMPLES diff --git a/doc/man7/EVP_RAND-TEST-RAND.pod b/doc/man7/EVP_RAND-TEST-RAND.pod index a5527cee3f8..ff5207565c6 100644 --- a/doc/man7/EVP_RAND-TEST-RAND.pod +++ b/doc/man7/EVP_RAND-TEST-RAND.pod @@ -67,7 +67,7 @@ Each nonce request will return all of the bytes. A context for a test generator can be obtained by calling: EVP_RAND *rand = EVP_RAND_fetch(NULL, "TEST-RAND", NULL); - EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand); + EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL); =head1 EXAMPLES