mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
Merge pull request #5090 from dgarske/public_dh
Fix for DH public FFDHE incorrectly getting enabled
This commit is contained in:
@@ -2027,7 +2027,9 @@ extern void uITRON4_free(void *p) ;
|
|||||||
|
|
||||||
#if !defined(HAVE_PUBLIC_FFDHE) && !defined(NO_DH) && \
|
#if !defined(HAVE_PUBLIC_FFDHE) && !defined(NO_DH) && \
|
||||||
!defined(WOLFSSL_NO_PUBLIC_FFDHE) && \
|
!defined(WOLFSSL_NO_PUBLIC_FFDHE) && \
|
||||||
(defined(HAVE_SELFTEST) || FIPS_VERSION_GE(2,0))
|
(defined(HAVE_SELFTEST) || FIPS_VERSION_LE(2,0))
|
||||||
|
/* This should only be enabled for FIPS v2 or older. It enables use of the
|
||||||
|
* older wc_Dh_ffdhe####_Get() API's */
|
||||||
#define HAVE_PUBLIC_FFDHE
|
#define HAVE_PUBLIC_FFDHE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user