diff options
author | Pauli <pauli@openssl.org> | 2022-11-14 00:31:23 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-12-08 11:11:11 +0100 |
commit | 61203c2c59df5d0022e316a4fe614e5d18907715 (patch) | |
tree | 30bac8aa749f5b801cc98242d7d7f31ba0b1b20e /test/smime-eml | |
parent | x509: fix double locking problem (diff) | |
download | openssl-61203c2c59df5d0022e316a4fe614e5d18907715.tar.xz openssl-61203c2c59df5d0022e316a4fe614e5d18907715.zip |
test: add test case for deadlock reported in #19643
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19652)
Diffstat (limited to 'test/smime-eml')
-rw-r--r-- | test/smime-eml/SignedInvalidMappingFromanyPolicyTest7.eml | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/test/smime-eml/SignedInvalidMappingFromanyPolicyTest7.eml b/test/smime-eml/SignedInvalidMappingFromanyPolicyTest7.eml new file mode 100644 index 0000000000..5d6b49d2c1 --- /dev/null +++ b/test/smime-eml/SignedInvalidMappingFromanyPolicyTest7.eml @@ -0,0 +1,93 @@ +To: recipient@testcertificates.gov +From: sender@testcertificates.gov +Subject: Invalid Mapping From anyPolicy Test7 +MIME-Version: 1.0 +Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----C124D5D1A319E09E6A4BB51A44961168" + +This is an S/MIME signed message + +------C124D5D1A319E09E6A4BB51A44961168 +Content-Type: text/plain
+
+This is a sample signed message.
+ +------C124D5D1A319E09E6A4BB51A44961168 +Content-Type: application/pkcs7-signature; name="smime.p7s" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7s" + +MIINTQYJKoZIhvcNAQcCoIINPjCCDToCAQExDzANBglghkgBZQMEAgEFADALBgkq +hkiG9w0BBwGgggdpMIIDvTCCAqWgAwIBAgIBMzANBgkqhkiG9w0BAQsFADBFMQsw +CQYDV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