mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Merge pull request #3338 from SparkiDev/dh_fips3
DH EXTRA test: Disable DH test unless not FIPS or FIPS > 2
This commit is contained in:
@@ -14913,7 +14913,8 @@ static int dh_test(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Test DH key import / export */
|
/* Test DH key import / export */
|
||||||
#ifdef WOLFSSL_DH_EXTRA
|
#if defined(WOLFSSL_DH_EXTRA) && (!defined(HAVE_FIPS) || \
|
||||||
|
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION > 2)))
|
||||||
wc_FreeDhKey(key);
|
wc_FreeDhKey(key);
|
||||||
ret = wc_InitDhKey_ex(key, HEAP_HINT, devId);
|
ret = wc_InitDhKey_ex(key, HEAP_HINT, devId);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
|
Reference in New Issue
Block a user