Extend test_ssl_get_shared_ciphers
authorMatt Caswell <matt@openssl.org>
Fri, 1 May 2020 11:24:57 +0000 (12:24 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 6 May 2020 10:50:08 +0000 (11:50 +0100)
commita96e6c347bc1da9964ffe941608b11cf030320ef
tree0ec9eeb6db21fce4a39f631c11ab2a5c475946a7
parent4264ecd4cebf7cee4bd437f1739e9f4297ae5b70
Extend test_ssl_get_shared_ciphers

Ensure we test scenarios where a FIPS peer is communication with a
non-FIPS peer. Check that a FIPS client doesn't offer ciphersuites it
doesn't have, and that a FIPS server only chooses ciphersuites it can
support.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11700)
test/sslapitest.c