Index: net/socket/ssl_client_socket_pool.cc |
=================================================================== |
--- net/socket/ssl_client_socket_pool.cc (revision 112817) |
+++ net/socket/ssl_client_socket_pool.cc (working copy) |
@@ -286,11 +286,12 @@ |
SSLClientSocket::NextProtoStatus status = |
SSLClientSocket::kNextProtoUnsupported; |
std::string proto; |
+ std::string server_protos; |
// GetNextProto will fail and and trigger a NOTREACHED if we pass in a socket |
// that hasn't had SSL_ImportFD called on it. If we get a certificate error |
// here, then we know that we called SSL_ImportFD. |
if (result == OK || IsCertificateError(result)) |
- status = ssl_socket_->GetNextProto(&proto); |
+ status = ssl_socket_->GetNextProto(&proto, &server_protos); |
// If we want spdy over npn, make sure it succeeded. |
if (status == SSLClientSocket::kNextProtoNegotiated) { |