diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-03-26 15:00:53 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-03-26 16:02:39 +0000 |
commit | f4bed7c7b6fe8459dbc14e28f91c6150013b9c5e (patch) | |
tree | 9867168fb060242e67b75ec3329abd8f2c196204 /test | |
parent | f16080718e4756ac1269c90f837263c5cd8dc412 (diff) |
Fix FIPS SSLv2 test
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(cherry picked from commit 21211ade53f92629250bbea5e37d9179a31d3be2)
Diffstat (limited to 'test')
-rw-r--r-- | test/testfipsssl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/testfipsssl b/test/testfipsssl index c4836edc25..b8bbb25936 100644 --- a/test/testfipsssl +++ b/test/testfipsssl @@ -38,8 +38,12 @@ fi echo test ssl3 is forbidden in FIPS mode $ssltest -ssl3 $extra && exit 1 -echo test ssl2 is forbidden in FIPS mode -$ssltest -ssl2 $extra && exit 1 +if ../util/shlib_wrap.sh ../apps/openssl ciphers SSLv2 >/dev/null 2>&1; then + echo test ssl2 is forbidden in FIPS mode + $ssltest -ssl2 $extra && exit 1 +else + echo ssl2 disabled: skipping test +fi echo test tls1 $ssltest -tls1 $extra || exit 1 |