Index: net/socket/ssl_client_socket.cc |
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc |
index 4dd6a4e926d5a84f56076b94983fbc3c90774a68..94792cb1e7b9d9df5a5832fdc8b68ba0bed76c6d 100644 |
--- a/net/socket/ssl_client_socket.cc |
+++ b/net/socket/ssl_client_socket.cc |
@@ -143,6 +143,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 |
@@ -154,8 +155,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; |
} |
@@ -177,11 +176,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; |
} |