]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix docs related to EVP_RAND_CTX_new() that were not passing the parent
authorslontis <shane.lontis@oracle.com>
Tue, 19 Jul 2022 03:40:34 +0000 (13:40 +1000)
committerHugo Landau <hlandau@openssl.org>
Wed, 30 Nov 2022 07:31:53 +0000 (07:31 +0000)
parameter.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18809)

doc/man7/EVP_RAND-CTR-DRBG.pod
doc/man7/EVP_RAND-HASH-DRBG.pod
doc/man7/EVP_RAND-SEED-SRC.pod
doc/man7/EVP_RAND-TEST-RAND.pod

index 1012494250fbeb322bf6c4d59fde90f33587697a..3e10f189d3bbf2a2464a0bed80875fbf49be025e 100644 (file)
@@ -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
 
index 62ded203ad09810af894cc6de28acca86a23de65..3361f7d8a57ad93e9b03372a86440882dab512db 100644 (file)
@@ -57,7 +57,7 @@ These parameters work as described in L<EVP_RAND(3)/PARAMETERS>.
 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
 
index 516fa64f577e0ccf9ec117274f550afc569c8ef9..8bbd5794720e0db0ec4274c435e0fe24b490296d 100644 (file)
@@ -39,7 +39,7 @@ These parameters work as described in L<EVP_RAND(3)/PARAMETERS>.
 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
 
index a5527cee3f872e30d310229a0ed17ddf739fec91..ff5207565c62cf348f86d6ffcc4e69eb375c5e0d 100644 (file)
@@ -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