Index: net/spdy/spdy_session.cc |
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
index 61f9e5fc0b5bd93d280b93a1c90562132ab6990b..16941e0803bda2d234636293e31f1f45fee225e4 100644 |
--- a/net/spdy/spdy_session.cc |
+++ b/net/spdy/spdy_session.cc |
@@ -48,6 +48,7 @@ |
#include "net/ssl/channel_id_service.h" |
#include "net/ssl/ssl_cipher_suite_names.h" |
#include "net/ssl/ssl_connection_status_flags.h" |
+#include "net/ssl/token_binding.h" |
davidben
2016/01/22 00:19:21
Not necessary?
nharper
2016/01/22 19:36:52
Removed.
|
namespace net { |
@@ -2047,6 +2048,17 @@ bool SpdySession::GetSSLInfo(SSLInfo* ssl_info, |
return connection_->socket()->GetSSLInfo(ssl_info); |
} |
+int SpdySession::GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, |
+ std::vector<uint8_t>* out) { |
+ if (!is_secure_) { |
+ NOTREACHED(); |
+ return ERR_FAILED; |
+ } |
+ SSLClientSocket* ssl_socket = |
+ static_cast<SSLClientSocket*>(connection_->socket()); |
+ return ssl_socket->GetSignedEKMForTokenBinding(key, out); |
+} |
+ |
void SpdySession::OnError(SpdyFramer::SpdyError error_code) { |
CHECK(in_io_loop_); |