]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix a copy & paste error in the EVP_RAND docs
authorMatt Caswell <matt@openssl.org>
Fri, 12 Jul 2024 08:16:36 +0000 (09:16 +0100)
committerNeil Horman <nhorman@openssl.org>
Mon, 15 Jul 2024 20:50:25 +0000 (16:50 -0400)
The "max_request" string is defined via the OSSL_RAND_PARAM_MAX_REQUEST
macro.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24863)

(cherry picked from commit 5c6975bd44dce4bb342b7bc130de5aaefbe2c35b)

doc/man3/EVP_RAND.pod

index f4e58a8e1f4259c6b745bb753b7e5c8e263008b2..a833e0295ff8d5bd04dbd574575a06589e3627ee 100644 (file)
@@ -285,7 +285,7 @@ associated RAND ctx.
 Reads or set the number of elapsed seconds before reseeding the
 associated RAND ctx.
 
-=item "max_request" (B<OSSL_DRBG_PARAM_RESEED_REQUESTS>) <unsigned integer>
+=item "max_request" (B<OSSL_RAND_PARAM_MAX_REQUEST>) <unsigned integer>
 
 Specifies the maximum number of bytes that can be generated in a single
 call to OSSL_FUNC_rand_generate.