Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: remoting/protocol/ssl_hmac_channel_authenticator.h

Issue 1518613002: Support for server session cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client_certs
Patch Set: Rebased to head Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698