openssl
openssl copied to clipboard
Fix hang on Windows in x509 policy code
This reverts commit 9aa4be691f5c73eb3c68606d824c104550c053f7.
Fixes #19643
A test will probably work only in tsan or on Windows. But yeah, it would be useful.
Testcase added.
I suspect getting the test/pkits-test.pl script running as a unit test would be better. I've raised this as #19663.
Are there licence and/or CLA issues with just including the PKITS test data in our codebase?
They come from NIST which generally mean fair game to use. We've a lot of other NIST test cases already.
They come from NIST which generally mean fair game to use.
We should check this with OMC.
OMC: Inclusion of this test data is ok to proceed.
FYI https://csrc.nist.gov/projects/pki-testing is the web page from which the test data is located.
@paulidale could you please move the testcase to test_cms recipe? It does not look to me it should be in test_threads as it does not really spawn any threads.
Relocated.
ping for second review
This pull request is ready to merge
Merged to master, 3.1, and 3.0 branches. Thank you.