update unit test case with DES3 and FIPS

This commit is contained in:
Jacob Barthelmeh
2017-07-25 11:25:11 -06:00
parent 5b0022fba0
commit 4438b8e92d

View File

@ -5239,6 +5239,7 @@ static int test_wc_Des3_SetIV (void)
} }
} }
#ifndef HAVE_FIPS /* no sanity checks with FIPS wrapper */
/* Test explicitly wc_Des3_SetIV() */ /* Test explicitly wc_Des3_SetIV() */
if (ret == 0) { if (ret == 0) {
ret = wc_Des3_SetIV(NULL, iv); ret = wc_Des3_SetIV(NULL, iv);
@ -5248,6 +5249,7 @@ static int test_wc_Des3_SetIV (void)
ret = SSL_FATAL_ERROR; ret = SSL_FATAL_ERROR;
} }
} }
#endif
printf(resultFmt, ret == 0 ? passed : failed); printf(resultFmt, ret == 0 ? passed : failed);