]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix typo in BN_generate_prime docs
authorViperinius <41393831+Viperinius@users.noreply.github.com>
Sun, 31 Aug 2025 16:09:11 +0000 (16:09 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 9 Sep 2025 09:11:16 +0000 (11:11 +0200)
CLA: trivial

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28395)

doc/man3/BN_generate_prime.pod

index accc8a749f0c333a09593ec8c4f2d244f86b9736..005c25fd7cc0a57e7d66970f0ab7449f8499a881 100644 (file)
@@ -130,7 +130,7 @@ or all the tests passed.
 If B<p> passes all these tests, it is considered a probable prime.
 
 The test performed on B<p> 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<ctx> is a preallocated B<BN_CTX> (to save the overhead of allocating and
 freeing the structure in a loop), or B<NULL>.