Commit d7a2fc1
selftests: net: fcnal-test: check if FIPS mode is enabled
There are some MD5 tests which fail when the kernel is in FIPS mode,
since MD5 is not FIPS compliant. Add a check and only run those tests
if FIPS mode is not enabled.
Fixes: f0bee1e ("fcnal-test: Add TCP MD5 tests")
Fixes: 5cad8bc ("fcnal-test: Add TCP MD5 tests for VRF")
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Magali Lemes <magali.lemes@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent cb43c60 commit d7a2fc1
1 file changed
Lines changed: 19 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
1216 | 1223 | | |
1217 | 1224 | | |
1218 | 1225 | | |
1219 | | - | |
| 1226 | + | |
1220 | 1227 | | |
1221 | 1228 | | |
1222 | 1229 | | |
| |||
1270 | 1277 | | |
1271 | 1278 | | |
1272 | 1279 | | |
1273 | | - | |
1274 | | - | |
1275 | | - | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
1276 | 1285 | | |
1277 | 1286 | | |
1278 | 1287 | | |
| |||
2772 | 2781 | | |
2773 | 2782 | | |
2774 | 2783 | | |
2775 | | - | |
| 2784 | + | |
2776 | 2785 | | |
2777 | 2786 | | |
2778 | 2787 | | |
| |||
2842 | 2851 | | |
2843 | 2852 | | |
2844 | 2853 | | |
2845 | | - | |
2846 | | - | |
2847 | | - | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
2848 | 2859 | | |
2849 | 2860 | | |
2850 | 2861 | | |
| |||
0 commit comments