Skip to content

Fix openssl_x509_checkpurpose_basic.phpt #7763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Dec 12, 2021

This test fails because san-cert.pem and san-ca.pem have expired. We
fix that by using the CertificateGenerator to generate temporary certs
during the test run. Since san-cert.pem and san-ca.pem have been
identical, we only generate one certificate.


Frankly, I doubt that this test case makes much sense. Apparently, it had been hacked together just to generate some code-coverage without actually testing useful behavior.

This test fails because san-cert.pem and san-ca.pem have expired.  We
fix that by using the CertificateGenerator to generate temporary certs
during the test run.  Since san-cert.pem and san-ca.pem have been
identical, we only generate one certificate.
@cmb69 cmb69 closed this in 98175fc Dec 12, 2021
@cmb69 cmb69 deleted the cmb/cert branch December 12, 2021 13:31
@andypost
Copy link
Contributor

Thank you fixing it! I have to patch 7.4.27 and 8.1.1 to make pass the test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants