a0c15d0fec
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>
28 lines
1.7 KiB
Text
28 lines
1.7 KiB
Text
-----BEGIN PRIVATE KEY-----
|
|
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDSf738eeGXMF9S
|
|
JnDVuhEapFzFFs0J5za3ygUZMXmyKvzQLv+b1ROg9qgHjQYmTvjt3WHMiRoj+jvk
|
|
n88iiqxt8+ztb+DjWNwOT9IHtyyaY9jGlMzzgDXUPOOOCHVodXD9Nrg4VScYGm+n
|
|
EqBcpCtmwpRE4G+V61ff+Nv6gq0/lE7rkRWnUS7Tu5XLOGaFQlCf4QTdgHeua1+k
|
|
wHNQJlFfioDum9Gb51VtXHr2dq5aVKnKCcmLWBN2LHf2laahNfb0u4DF7xS+temu
|
|
HfiFItkZrurlwWBr83+3i1S6Xc8ErqxtKBJJX0owx3o8Sl+0BE5UizcDgyv1tEnv
|
|
rEELdbdJAgMBAAECggEANIkePRecNnQjriia67SjFS+lWaktpkWXEfqxGA8RjOaO
|
|
r1SzhcyBuCAnYq8PNFtsZE1m3bnwFL+c2BwMgdXzYAPLg5zzFzqzvTytsjBEyQmX
|
|
bkRv/Gvow14o+udgiiAZgZD5HFIgTjM2349WB5kPnfd9Ms2C+/s/NM5y9IxNufqR
|
|
Toto9xwEviJDNVQUeamMbV1hYg0GkvYFNBg5JnGZw+2Sxdml3NFkaHjO+lOhC1VJ
|
|
nhtP0OeOhEMJe9J/MlqkByeg4WQW+jgPo9ysOa+JsEYBokBTleAboNNUJz1SmZ2o
|
|
CCLcMaEwA1IFZAbqjKzPb0xwjeZAtPsBzGFBwiuDyQKB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