From: Viperinius <41393831+Viperinius@users.noreply.github.com> Date: Sun, 31 Aug 2025 16:09:11 +0000 (+0000) Subject: Fix typo in BN_generate_prime docs X-Git-Tag: openssl-3.4.3~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ad89bbce8e1d36e0b6628ae90f1067bf61306ba;p=thirdparty%2Fopenssl.git Fix typo in BN_generate_prime docs CLA: trivial Reviewed-by: Paul Dale Reviewed-by: Kurt Roeckx Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28395) (cherry picked from commit b64ac3cb8330d417a7fa859fe74e0bd41805a6db) --- diff --git a/doc/man3/BN_generate_prime.pod b/doc/man3/BN_generate_prime.pod index accc8a749f0..005c25fd7cc 100644 --- a/doc/man3/BN_generate_prime.pod +++ b/doc/man3/BN_generate_prime.pod @@ -130,7 +130,7 @@ or all the tests passed. If B

passes all these tests, it is considered a probable prime. The test performed on B

are trial division by a number of small primes -and rounds of the of the Miller-Rabin probabilistic primality test. +and rounds of the Miller-Rabin probabilistic primality test. The functions do at least 64 rounds of the Miller-Rabin test giving a maximum false positive rate of 2^-128. @@ -148,7 +148,7 @@ and BN_is_prime_fasttest() are deprecated. BN_is_prime_fasttest() and BN_is_prime() behave just like BN_is_prime_fasttest_ex() and BN_is_prime_ex() respectively, but with the old -style call back. +style callback. B is a preallocated B (to save the overhead of allocating and freeing the structure in a loop), or B.