Manuel Pégourié-Gonnard 5a4c8f0ba0 Rationalize ssl-opt tests for keyUsage
- consistent naming with explicit version
- in each section, have a positive case with just the needed bit set,
and one with an irrelevant bit set in addition (cli 1.3 only had the
former, and cli-auth 1.3 only the later)
- when auth_mode optional is supported failing cases should come in
pairs: soft+hard, this wasn't the case for cli-auth 1.3. (Note: cli 1.3
currently does not support auth_mode optional.)
- failing cases should check that the correct flag is printed and the
expected alert is sent.

The last (two) points have uncovered a bug in 1.3 code:
- In fail (hard) cases the correct alert isn't send, but a more generic
one instead.
- In fail (soft) cases the issue with the certificate is not reported,
actually the certificate is reported as valid.

Both share the same root cause: the flags are not updated properly when
checking the keyUsage extension. This will be addressed in future
commits.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2024-08-16 17:23:40 +01:00
..
.jenkins
configs Fix a typo in a comment 2024-04-12 12:40:01 +02:00
docker/bionic Header updates 2023-11-03 12:21:36 +00:00
git-scripts Header updates 2023-11-03 12:21:36 +00:00
include Merge pull request #9364 from eleuzi01/replace-ccm 2024-08-07 08:18:52 +00:00
opt-testcases Update generated tls13 testcase script 2024-07-05 15:49:38 +01:00
psa-client-server Merge pull request #9427 from valeriosetti/psasim-small-fixes 2024-08-07 13:13:46 +00:00
scripts Resolved merge conflicts caused by file moved in #8226 2024-08-08 14:11:53 +01:00
src Update generated PSA wrappers 2024-08-05 15:52:37 +02:00
suites Replace MBEDTLS_SSL_HAVE_CCM with PSA_WANT_ALG_CCM 2024-08-05 15:40:00 +01:00
.gitignore Adapt .gitignore files 2024-07-19 10:07:27 +02:00
CMakeLists.txt Adapt CMake build of TLS and x509 test suites 2024-07-19 10:07:27 +02:00
compat-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
compat.sh Replace data_files path with variable in compat.sh 2024-07-05 15:49:28 +01:00
context-info.sh Update directory-climbing path in context-info.sh 2024-07-05 15:49:05 +01:00
Descriptions.txt
make-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
Makefile Adapt make build system 2024-07-19 10:07:27 +02:00
ssl-opt-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
ssl-opt.sh Rationalize ssl-opt tests for keyUsage 2024-08-16 17:23:40 +01:00