Index: net/socket/ssl_client_socket_openssl.cc |
diff --git a/net/socket/ssl_client_socket_openssl.cc b/net/socket/ssl_client_socket_openssl.cc |
index 53e08702cbd8a6e5f57ce10306c7be89b85b04ff..1c00180be94ca7866754dd231994f163c916fc20 100644 |
--- a/net/socket/ssl_client_socket_openssl.cc |
+++ b/net/socket/ssl_client_socket_openssl.cc |
@@ -297,7 +297,7 @@ void SSLClientSocketOpenSSL::PeerCertificateChain::Reset( |
openssl_chain_.reset(sk_X509_dup(chain)); |
std::vector<base::StringPiece> der_chain; |
- for (int i = 0; i < sk_X509_num(openssl_chain_.get()); ++i) { |
+ for (size_t i = 0; i < sk_X509_num(openssl_chain_.get()); ++i) { |
X509* x = sk_X509_value(openssl_chain_.get(), i); |
// Increase the reference count for the certs in openssl_chain_. |