]> 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:42:24 +0000 (16:42 -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)

doc/man3/EVP_RAND.pod

index 0c79c57b81ef80715603d1c730a60ba6a14188c3..fb6b98e264149a3c4eba8bc87ab172a837465192 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.