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

Unified Diff: net/socket/ssl_client_socket_nss.cc

Issue 13130004: Don't expire certs used as channel IDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/ssl/server_bound_cert_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss.cc
diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc
index c762e9350adc2539c7d3263728ced8c5a1af2e98..fd6b6b4349db8d85e06522aa0f2c20ba17310207 100644
--- a/net/socket/ssl_client_socket_nss.cc
+++ b/net/socket/ssl_client_socket_nss.cc
@@ -998,8 +998,6 @@ bool SSLClientSocketNSS::Core::Init(PRFileDesc* socket,
DVLOG(1) << "NULL server_bound_cert_service_, not enabling channel ID.";
} else if (!crypto::ECPrivateKey::IsSupported()) {
DVLOG(1) << "Elliptic Curve not supported, not enabling channel ID.";
- } else if (!server_bound_cert_service_->IsSystemTimeValid()) {
- DVLOG(1) << "System time is weird, not enabling channel ID.";
mattm 2013/03/29 02:59:48 Can not remove this (and associated stuff), since
thaidn_google 2013/03/29 18:48:01 Done.
} else {
rv = SSL_SetClientChannelIDCallback(
nss_fd_, SSLClientSocketNSS::Core::ClientChannelIDHandler, this);
@@ -2543,8 +2541,7 @@ void SSLClientSocketNSS::Core::RecordChannelIDSupport() const {
CLIENT_ONLY = 1,
CLIENT_AND_SERVER = 2,
CLIENT_NO_ECC = 3,
- CLIENT_BAD_SYSTEM_TIME = 4,
- CLIENT_NO_SERVER_BOUND_CERT_SERVICE = 5,
+ CLIENT_NO_SERVER_BOUND_CERT_SERVICE = 4,
mattm 2013/03/29 02:59:48 see comment above ("Since this enum is used for a
thaidn_google 2013/03/29 18:48:01 Done.
DOMAIN_BOUND_CERT_USAGE_MAX
} supported = DISABLED;
if (channel_id_xtn_negotiated_) {
@@ -2554,8 +2551,6 @@ void SSLClientSocketNSS::Core::RecordChannelIDSupport() const {
supported = CLIENT_NO_SERVER_BOUND_CERT_SERVICE;
else if (!crypto::ECPrivateKey::IsSupported())
supported = CLIENT_NO_ECC;
- else if (!server_bound_cert_service_->IsSystemTimeValid())
- supported = CLIENT_BAD_SYSTEM_TIME;
else
supported = CLIENT_ONLY;
}
« no previous file with comments | « no previous file | net/ssl/server_bound_cert_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698