diff options
Diffstat (limited to 'test/recipes/80-test_cms.t')
-rw-r--r-- | test/recipes/80-test_cms.t | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/recipes/80-test_cms.t b/test/recipes/80-test_cms.t index 28d96b8eda..5d755c989d 100644 --- a/test/recipes/80-test_cms.t +++ b/test/recipes/80-test_cms.t @@ -50,7 +50,7 @@ my ($no_des, $no_dh, $no_dsa, $no_ec, $no_ec2m, $no_rc2, $no_zlib) $no_rc2 = 1 if disabled("legacy"); -plan tests => 15; +plan tests => 16; ok(run(test(["pkcs7_test"])), "test pkcs7"); @@ -1081,3 +1081,14 @@ sub check_availability { return ""; } + +# Test case for the locking problem reported in #19643. +# This will fail if the fix is in and deadlock on Windows (and possibly +# other platforms) if not. +ok(!run(app(['openssl', 'cms', '-verify', + '-CAfile', srctop_file("test/certs", "pkitsta.pem"), + '-policy', 'anyPolicy', + '-in', srctop_file("test/smime-eml", + "SignedInvalidMappingFromanyPolicyTest7.eml") + ])), + "issue#19643"); |