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

Issue 203323004: Do not assume OSCertHandle is OpenSSL's X509 structure. (Closed)

Created:
6 years, 9 months ago by haavardm
Modified:
6 years, 9 months ago
Reviewers:
agl, wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Do not assume OSCertHandle is OpenSSL's X509 structure. Instead create a X509Certificate instance from the OpenSSL chain via PeerCertificateChain, and compare with the existing X509Certificate. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258337

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed Ryan's comment #

Total comments: 8

Patch Set 3 : Addressed wtc's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -21 lines) Patch
M net/socket/ssl_client_socket_openssl.cc View 1 2 6 chunks +26 lines, -21 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
haavardm
Some more OpenSSL portable stuff that went under my radar when doing cl 173853014.
6 years, 9 months ago (2014-03-18 10:51:47 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/203323004/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/203323004/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode1527 net/socket/ssl_client_socket_openssl.cc:1527: // The certificates match so the renegotiation can continue. ...
6 years, 9 months ago (2014-03-18 20:47:06 UTC) #2
haavardm
https://codereview.chromium.org/203323004/diff/1/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/203323004/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode1527 net/socket/ssl_client_socket_openssl.cc:1527: // The certificates match so the renegotiation can continue. ...
6 years, 9 months ago (2014-03-18 21:36:40 UTC) #3
Ryan Sleevi
On 2014/03/18 21:36:40, Håvard Molland wrote: > https://codereview.chromium.org/203323004/diff/1/net/socket/ssl_client_socket_openssl.cc > File net/socket/ssl_client_socket_openssl.cc (right): > > https://codereview.chromium.org/203323004/diff/1/net/socket/ssl_client_socket_openssl.cc#newcode1527 ...
6 years, 9 months ago (2014-03-18 21:47:51 UTC) #4
wtc
Review comments on patch set 1: This is the same as patch set 3 in ...
6 years, 9 months ago (2014-03-19 00:29:24 UTC) #5
haavardm
On 2014/03/19 00:29:24, wtc wrote: > Review comments on patch set 1: > > This ...
6 years, 9 months ago (2014-03-19 10:23:29 UTC) #6
wtc
Patch set 2 LGTM. https://codereview.chromium.org/203323004/diff/2/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/203323004/diff/2/net/socket/ssl_client_socket_openssl.cc#newcode335 net/socket/ssl_client_socket_openssl.cc:335: explicit PeerCertificateChain(STACK_OF(X509) * chain) { ...
6 years, 9 months ago (2014-03-19 18:49:35 UTC) #7
wtc
Please update the CL's description before you commit this. It contains some background info that ...
6 years, 9 months ago (2014-03-19 18:51:19 UTC) #8
haavardm
https://codereview.chromium.org/203323004/diff/2/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/203323004/diff/2/net/socket/ssl_client_socket_openssl.cc#newcode335 net/socket/ssl_client_socket_openssl.cc:335: explicit PeerCertificateChain(STACK_OF(X509) * chain) { Reset(chain); } On 2014/03/19 ...
6 years, 9 months ago (2014-03-20 13:56:29 UTC) #9
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 9 months ago (2014-03-20 13:56:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haavardm@opera.com/203323004/30001
6 years, 9 months ago (2014-03-20 13:57:29 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 13:59:11 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-20 13:59:12 UTC) #13
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 9 months ago (2014-03-20 14:01:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haavardm@opera.com/203323004/30001
6 years, 9 months ago (2014-03-20 14:02:34 UTC) #15
Ryan Sleevi
lgtm
6 years, 9 months ago (2014-03-20 17:11:59 UTC) #16
haavardm
On 2014/03/20 17:11:59, Ryan Sleevi wrote: > lgtm Should I have waited for this second ...
6 years, 9 months ago (2014-03-20 17:14:20 UTC) #17
Ryan Sleevi
On 2014/03/20 17:14:20, Håvard Molland wrote: > On 2014/03/20 17:11:59, Ryan Sleevi wrote: > > ...
6 years, 9 months ago (2014-03-20 17:26:10 UTC) #18
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 17:54:20 UTC) #19
Message was sent while issue was closed.
Change committed as 258337

Powered by Google App Engine
This is Rietveld 408576698