mbedtls/tests
Nick Child a0c15d0fec pkcs7/test: Add test cases for pkcs7 with 3 signers
Previously, a loop in pkcs7_get_signers_info_set was not
getting covered by tests. This was because when there are
two or less signers, the loop will not execute.
Therefore, add new data files for another signer and use
three signers to generate a new pkcs7 DER file. Add a test
case to make sure that verification is still successfula and
use the test script to create ASN1 errors throoughout the
stucture:
./generate_pkcs7_tests.py ../data_files/pkcs7_data_3_signed.der

This results in the loop being executed.

Signed-off-by: Nick Child <nick.child@ibm.com>
2023-01-30 19:30:38 +00:00
..
.jenkins
configs Switch to the new code style 2023-01-11 14:50:10 +01:00
data_files pkcs7/test: Add test cases for pkcs7 with 3 signers 2023-01-30 19:30:38 +00:00
docker/bionic Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
git-scripts
include Switch to the new code style 2023-01-11 14:50:10 +01:00
opt-testcases simplify test case dependencies and test commands 2023-01-16 13:44:10 +08:00
scripts test/pkcs7: Add more tests for better coverage 2023-01-30 15:55:44 +00:00
src Switch to the new code style 2023-01-11 14:50:10 +01:00
suites pkcs7/test: Add test cases for pkcs7 with 3 signers 2023-01-30 19:30:38 +00:00
.gitignore
CMakeLists.txt Merge pull request #6699 from gilles-peskine-arm/lcov-script 2022-12-15 12:29:23 +01:00
compat-in-docker.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
compat.sh Merge pull request #6917 from yanrayw/6658-not-print-Terminated-ubuntu-22.04 2023-01-26 21:53:33 +01:00
context-info.sh
Descriptions.txt
make-in-docker.sh Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
Makefile Remove libtestdriver1 with 'make clean' 2023-01-05 12:55:08 +01:00
ssl-opt-in-docker.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
ssl-opt.sh Have compat.sh and ssl-opt.sh not return success for > 255 errors 2023-01-13 12:13:41 +00:00