Index: remoting/protocol/ssl_hmac_channel_authenticator.h |
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator.h b/remoting/protocol/ssl_hmac_channel_authenticator.h |
index e1da9ca3ba824d8ad578fa5f2d0acc5f61c9832a..d793478b4c909a25de086e60f6f12bf787b499a1 100644 |
--- a/remoting/protocol/ssl_hmac_channel_authenticator.h |
+++ b/remoting/protocol/ssl_hmac_channel_authenticator.h |
@@ -18,6 +18,7 @@ namespace net { |
class CertVerifier; |
class DrainableIOBuffer; |
class GrowableIOBuffer; |
+class SSLServerContext; |
class SSLSocket; |
class TransportSecurityState; |
} // namespace net |
@@ -80,12 +81,15 @@ class SslHmacChannelAuthenticator : public ChannelAuthenticator, |
void CheckDone(bool* callback_called); |
void NotifyError(int error); |
+ void InitializeSSLServerContext(); |
+ |
// The mutual secret used for authentication. |
std::string auth_key_; |
// Used in the SERVER mode only. |
std::string local_cert_; |
scoped_refptr<RsaKeyPair> local_key_pair_; |
+ scoped_ptr<net::SSLServerContext> server_context_; |
// Used in the CLIENT mode only. |
std::string remote_cert_; |