Skip to content
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

Testsuite fails against openssl 1.1.1h #38

Closed
DimStar77 opened this issue Sep 30, 2020 · 3 comments
Closed

Testsuite fails against openssl 1.1.1h #38

DimStar77 opened this issue Sep 30, 2020 · 3 comments

Comments

@DimStar77
Copy link

openssl 1.1.1h has been released, with this short release notes:

 5+- Update to 1.1.1h
 6+  * Disallow explicit curve parameters in verifications chains when X509_V_FLAG_X509_STRICT is used
 7+  * Enable 'MinProtocol' and 'MaxProtocol' to configure both TLS and DTLS contexts
 8+- refresh openssl-fips_selftest_upstream_drbg.patch
 9+  * DRBG internals got renamed back:
10+    reseed_gen_counter  -> generate_counter
11+    reseed_prop_counter -> reseed_counter

Neon (up to current master, rev 0bdf346 fails to pass the test suite with this version openssl:

socket-ssl............ 21/46 SKIPPED - ssl_session_id (zero-length session ID, cannot test further)
socket-ssl............ 45/46 passed (1 skipped) 
ssl................... 52/64 FAIL - fail_ca_notyetvalid (no error in verification callback; request rv 0 error string: 200 OK)
ssl................... 53/64 FAIL - fail_ca_expired (no error in verification callback; request rv 0 error string: 200 OK)
ssl................... 55/64 FAIL - fail_nul_cn (verification flags were 6 not 22)
ssl................... 56/64 FAIL - fail_nul_san (verification flags were 6 not 22)
ssl................... 63/64 WARNING: NSS required for PKCS#11 testing
[   67s] ssl................... 63/64 SKIPPED - pkcs11
ssl................... 64/64 WARNING: NSS required for PKCS#11 testing
[   67s] ssl................... 64/64 SKIPPED - pkcs11_dsa
ssl................... 58/64 passed, 4 failed (2 skipped) (2 warnings)

Test environment: openSUSE Tumbleweed, openssl 1.1.1h integration test project

@pmgdeb
Copy link

pmgdeb commented Oct 8, 2020

I think the fail_nul_* tests fail because OpenSSL is configured to reject SHA-1 digests.

notroj added a commit that referenced this issue Oct 20, 2020
  certs using a SHA-1 digest, which now fail with current OpenSSL and
  GnuTLS. (issue #38)
@notroj
Copy link
Owner

notroj commented Oct 20, 2020

Thanks for the report. Yup, that's right. I disabled the tests now.

From a fresh build (make clean && make check TESTS=ssl) can you attach test/debug.log so I can see the debugging output for the other failures?

@notroj
Copy link
Owner

notroj commented Jan 23, 2021

I don't see any failures with 1.1.1i on the master branch, so I'm going to assume it's fixed with 0f2d079

@notroj notroj closed this as completed Jan 23, 2021
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

No branches or pull requests

3 participants