diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 06:50:51 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 06:50:51 +0000 |
commit | d264be9d7a5f4daf94c6226715ea9a4833f24cb2 (patch) | |
tree | 645a7edcc2c1308f72e2007a574b9bfb5d529e37 /remoting/host/host_key_pair.h | |
parent | 221c035c00435d12b33b026b0402cc6e18ee7e13 (diff) | |
download | chromium_src-d264be9d7a5f4daf94c6226715ea9a4833f24cb2.zip chromium_src-d264be9d7a5f4daf94c6226715ea9a4833f24cb2.tar.gz chromium_src-d264be9d7a5f4daf94c6226715ea9a4833f24cb2.tar.bz2 |
Fix leak in remoting_unittests caused by crrev.com/112127
TBR=wez@chromium.org
BUG=105214
Review URL: http://codereview.chromium.org/8746008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112154 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_key_pair.h')
-rw-r--r-- | remoting/host/host_key_pair.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/host/host_key_pair.h b/remoting/host/host_key_pair.h index 2ea00a0..41a5420 100644 --- a/remoting/host/host_key_pair.h +++ b/remoting/host/host_key_pair.h @@ -30,6 +30,8 @@ class HostKeyPair { bool Load(HostConfig* host_config); void Save(MutableHostConfig* host_config); + crypto::RSAPrivateKey* private_key() { return key_.get(); } + std::string GetPublicKey() const; std::string GetSignature(const std::string& message) const; |