diff options
author | slontis <shane.lontis@oracle.com> | 2022-07-19 05:40:34 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2022-11-30 08:31:53 +0100 |
commit | 0a7528cc7c3b80e00e3093f5d32525574138a33e (patch) | |
tree | befa4258736efbf8bd34f40934ce2995c1a8eb50 | |
parent | Implement deterministic ECDSA sign (RFC6979) (diff) | |
download | openssl-0a7528cc7c3b80e00e3093f5d32525574138a33e.tar.xz openssl-0a7528cc7c3b80e00e3093f5d32525574138a33e.zip |
Fix docs related to EVP_RAND_CTX_new() that were not passing the parent
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)
-rw-r--r-- | doc/man7/EVP_RAND-CTR-DRBG.pod | 2 | ||||
-rw-r--r-- | doc/man7/EVP_RAND-HASH-DRBG.pod | 2 | ||||
-rw-r--r-- | doc/man7/EVP_RAND-SEED-SRC.pod | 2 | ||||
-rw-r--r-- | doc/man7/EVP_RAND-TEST-RAND.pod | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/man7/EVP_RAND-CTR-DRBG.pod b/doc/man7/EVP_RAND-CTR-DRBG.pod index 1012494250..3e10f189d3 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 62ded203ad..3361f7d8a5 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<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 diff --git a/doc/man7/EVP_RAND-SEED-SRC.pod b/doc/man7/EVP_RAND-SEED-SRC.pod index 516fa64f57..8bbd579472 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<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 diff --git a/doc/man7/EVP_RAND-TEST-RAND.pod b/doc/man7/EVP_RAND-TEST-RAND.pod index a5527cee3f..ff5207565c 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 |