Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Issue 6814045: Linux: fix net_unittests failures on Gentoo Linux (Closed)

Created:
9 years, 8 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Linux: fix net_unittests failures on Gentoo Linux tlslite does some autodetection which when m2crypto is installed and importable is more strict when parsing certificate files. This CL makes our certificate files acceptable by both the more strict and more lenient versions of code used by tlslite. Swap the certificate and private key in [ok|expired]_cert.pem, so that s.startswith() will return true for OpenSSL_RSAKey. tlslite.X509 uses s.find() to locate the BEGIN CERTIFICATE, so it should be unaffected. For more info see http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/903f65ad685da9b2# Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81218

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -30 lines) Patch
M net/data/ssl/certificates/expired_cert.pem View 2 chunks +15 lines, -15 lines 0 comments Download
M net/data/ssl/certificates/ok_cert.pem View 2 chunks +15 lines, -15 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Paweł Hajdan Jr.
I have just tested it on a Gentoo Linux machine with bundled tlslite (with the ...
9 years, 8 months ago (2011-04-08 16:21:11 UTC) #1
wtc
9 years, 8 months ago (2011-04-08 19:18:09 UTC) #2
LGTM.

The CL's description should clearly say we change to list
the RSA private key before the certificate in the PEM files.

Powered by Google App Engine
This is Rietveld 408576698