Index: net/socket/ssl_client_socket.cc |
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc |
index f333cb8ec89aaffe55d8f663a7b74e4ad100f119..41dd3b996cef3a4c3cb61c4fd981f95350d814c0 100644 |
--- a/net/socket/ssl_client_socket.cc |
+++ b/net/socket/ssl_client_socket.cc |
@@ -156,6 +156,7 @@ void SSLClientSocket::RecordChannelIDSupport( |
CLIENT_ONLY = 1, |
CLIENT_AND_SERVER = 2, |
CLIENT_NO_ECC = 3, |
+ // CLIENT_BAD_SYSTEM_TIME is unused now. |
CLIENT_BAD_SYSTEM_TIME = 4, |
CLIENT_NO_CHANNEL_ID_SERVICE = 5, |
CHANNEL_ID_USAGE_MAX |
@@ -167,8 +168,6 @@ void SSLClientSocket::RecordChannelIDSupport( |
supported = CLIENT_NO_CHANNEL_ID_SERVICE; |
else if (!supports_ecc) |
supported = CLIENT_NO_ECC; |
- else if (!channel_id_service->IsSystemTimeValid()) |
- supported = CLIENT_BAD_SYSTEM_TIME; |
else |
supported = CLIENT_ONLY; |
} |
@@ -190,11 +189,6 @@ bool SSLClientSocket::IsChannelIDEnabled( |
DVLOG(1) << "Elliptic Curve not supported, not enabling channel ID."; |
return false; |
} |
- if (!channel_id_service->IsSystemTimeValid()) { |
- DVLOG(1) << "System time is not within the supported range for certificate " |
- "generation, not enabling channel ID."; |
- return false; |
- } |
return true; |
} |