|
|
Include both certificate chains in invalid cert reporting
The report now includes the chain as received by the client from the
server as well as the verified chain built by the client.
This is done by adding an |unverified_server_cert| field to SSLInfo
(which replaces SSLClientSocket::GetUnverifiedServerCertificateChain(),
which was only used by unit tests). My understanding is that the |cert|
field contains the chain as verified by the client, or as received by
the client if a verified chain can't be built. So in some cases the
|cert| and |unverified_server_cert| fields might be the same.
This CL is based on https://codereview.chromium.org/935663004/
BUG= 461588
Total comments: 2
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+148 lines, -51 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/socket/tls_socket_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/cert_logger.proto
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_fraudulent_certificate_reporter.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
|
View
|
1
|
3 chunks |
+23 lines, -10 lines |
2 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc
|
View
|
1
|
4 chunks |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/cert_verify_proc.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/cert_verify_proc_unittest.cc
|
View
|
1
|
2 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/cert/cert_verify_result.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
1 comment
|
Download
|
 |
M |
net/cert/cert_verify_result.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/mock_cert_verifier.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket.h
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_nss.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_nss.cc
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_openssl.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_openssl.cc
|
View
|
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/ssl/ssl_info.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
2 comments
|
Download
|
 |
M |
net/ssl/ssl_info.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (3 generated)
|