-
Notifications
You must be signed in to change notification settings - Fork 7.9k
openssl_x509_parse_basic test fails with OpenSSL 3.2+ #13806
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
Comments
Attempt rebuild 8.2/8.3 showed more
|
Yeah I noticed openssl_x509_parse_basic issue so will look into it later. I will also soon merge #13667 which fixes that other reported thing - btw that test should be XFAIL in master... |
tested with openssl 3.3 and the error is the same |
So I just checked that additional purpose in openssl_x509_parse and it is a feature in 3.2: https://github.com/openssl/openssl/blob/3fa6dbd1be0791210853b0367b8483d4e6291e4f/CHANGES.md?plain=1#L173-L176
It means I need to modify the test to be a bit more generic and allow this difference |
I went for additional test instead as it is probably cleaner and also easier |
@bukka after patch it passing! meantime one more disabled test since 8.2rc2 please take a look TEST 9692/17371 [ext/openssl/tests/bug74341.phpt]
========DIFF========
- int(1389052800)
- int(1459494000)
+ Warning: Trying to access array offset on false in /builds/...-8ce9f2e2b0bd943998aebe8829a13251edbafdc7/ext/openssl/tests/bug74341.php on line 42
+ NULL
+
+ Warning: Trying to access array offset on false in /builds/...-8ce9f2e2b0bd943998aebe8829a13251edbafdc7/ext/openssl/tests/bug74341.php on line 43
+ NULL
========DONE======== |
FYI all disabled openssl related test in Alpine |
Hmm that's a lot of tests to be disabled. I might need to setup some convenient alpine dev env. If you could maybe create an issue listing all those broken tests including some Dockerfile (ideally using php source from volume so I can use it for development) how to quickly trigger it that would be really helpful and would save me some time. |
There's obviously some issue with the TLS tester that needs to be looked at as all its tests are failling. |
Filed follow-up #14036 as of new failures happening with openssl 3.3 |
Uh oh!
There was an error while loading. Please reload this page.
Description
Attempted to build current master with the latest upgrades in Alpine (openssl 3.2.1)
The following test failed because of 2 extra fields displayed for the cert:
PHP Version
master
Operating System
Alpinelinux
The text was updated successfully, but these errors were encountered: