Bug 30494

Summary: The vast majority of connector tests fail with OpenSSL
Product: Wocky Reporter: Will Thompson <will>
Component: GeneralAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: vivek
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Will Thompson 2010-09-30 03:40:49 UTC
Today I made Wocky compile when configured to use OpenSSL. I thought I would run the test suite, and discovered that only 68 out of the 219 connector tests pass.

I started looking into it. My branch is attached, with a patch which handles an additional error condition from OpenSSL (by ignoring it). I don't think this is kosher—I think it's more likely that the loading of the CRL is broken in some way—but it leaves us with a mere 14 failing tests, all of which are due to a connection being made successfully when it ought to fail:

	Failure: /connector/cert-verification/tls/nohost/fail/name-mismatch
	Failure: /connector/cert-verification/tls/host/fail/name-mismatch
	Failure: /connector/cert-verification/tls/crl/fail
	Failure: /connector/cert-verification/tls/expired/fail
	Failure: /connector/cert-verification/tls/inactive/fail
	Failure: /connector/cert-verification/tls/selfsigned/fail
	Failure: /connector/cert-verification/ssl/nohost/fail/name-mismatch
	Failure: /connector/cert-verification/ssl/host/fail/name-mismatch
	Failure: /connector/cert-verification/ssl/crl/fail
	Failure: /connector/cert-verification/ssl/expired/fail
	Failure: /connector/cert-verification/ssl/inactive/fail
	Failure: /connector/cert-verification/ssl/selfsigned/fail
	Failure: /connector/cert-nonverification/tls/crl/fail
	Failure: /connector/cert-nonverification/ssl/crl/fail

This suggests that we are being too lenient in some cases.
Comment 1 Will Thompson 2010-10-25 02:55:09 UTC
These were all broken because the CRL has expired. It is fixed properly now.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.