| 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 2e011d97997d551dc780eded34b235bd7440278f..5c1e6edea1961665baafcbecb3c1c5cb63793904 100644
|
| --- a/net/socket/ssl_client_socket_openssl.cc
|
| +++ b/net/socket/ssl_client_socket_openssl.cc
|
| @@ -942,6 +942,7 @@ int SSLClientSocketOpenSSL::DoHandshake() {
|
| if (alpn_len > 0) {
|
| npn_proto_.assign(reinterpret_cast<const char*>(alpn_proto), alpn_len);
|
| npn_status_ = kNextProtoNegotiated;
|
| + set_protocol_negotiation(PN_ALPN);
|
| }
|
| }
|
|
|
| @@ -1678,6 +1679,7 @@ int SSLClientSocketOpenSSL::SelectNextProtoCallback(unsigned char** out,
|
|
|
| npn_proto_.assign(reinterpret_cast<const char*>(*out), *outlen);
|
| DVLOG(2) << "next protocol: '" << npn_proto_ << "' status: " << npn_status_;
|
| + set_protocol_negotiation(PN_NPN);
|
| return SSL_TLSEXT_ERR_OK;
|
| }
|
|
|
|
|