Re: git: dcf5d5603b3a - main - Reduce ifdef soup by adding pre-3.0 compat support

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 30 May 2023 17:02:02 UTC
On 5/27/23 5:05 PM, Enji Cooper wrote:
> The branch main has been updated by ngie:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=dcf5d5603b3af831002caa7b2f64aec8bda14071
> 
> commit dcf5d5603b3af831002caa7b2f64aec8bda14071
> Author:     Enji Cooper <ngie@FreeBSD.org>
> AuthorDate: 2023-05-27 21:07:45 +0000
> Commit:     Enji Cooper <ngie@FreeBSD.org>
> CommitDate: 2023-05-28 00:05:39 +0000
> 
>      Reduce ifdef soup by adding pre-3.0 compat support
>      
>      This change creates a static inline function, BN_check_prime, for
>      pre-3.0 use which is implemented with the previous (1.1) compatible call
>      under the covers, `BN_is_prime_ex`.
>      
>      The `nchecks` parameter value is maintained, even though it has no
>      noticable behavior change, given that the documentation clearly states
>      that at least 64 or 128 rounds are executed on the backend, depending on
>      how many bits there are in the given number being factored out.
>      
>      MFC after:      1 week
>      Differential Revision:   https://reviews.freebsd.org/D40305

Thanks!

-- 
John Baldwin