Skip to content

Commit

Permalink
Bug 1552767, tests: skip TLS 1.3 tests under FIPS mode, r=rrelyea
Browse files Browse the repository at this point in the history
--HG--
extra : amend_source : 6eb48a540972b4fc35de3db0368dff74a51d9f05
  • Loading branch information
ueno committed May 20, 2019
1 parent 150c192 commit c194147
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/ssl/ssl.sh
Expand Up @@ -393,6 +393,15 @@ ssl_auth()
echo "${testname}" | grep "TLS 1.3" > /dev/null
TLS13=$?

# Currently TLS 1.3 tests are known to fail under FIPS mode,
# because HKDF is implemented using the PKCS #11 functions
# prohibited under FIPS mode.
if [ "${TLS13}" -eq 0 ] && \
[ "$SERVER_MODE" = "fips" -o "$CLIENT_MODE" = "fips" ] ; then
echo "$SCRIPTNAME: skipping $testname (non-FIPS only)"
continue
fi

if [ "${CLIENT_MODE}" = "fips" -a "${CAUTH}" -eq 0 ] ; then
echo "$SCRIPTNAME: skipping $testname (non-FIPS only)"
elif [ "$ectype" = "SNI" -a "$NORM_EXT" = "Extended Test" ] ; then
Expand Down

0 comments on commit c194147

Please sign in to comment.