summaryrefslogtreecommitdiffstats
path: root/base/crypto/signature_creator_win.cc
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 18:17:49 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 18:17:49 +0000
commit9719a89d33e1bb6c677d521607862aa9dbae9a54 (patch)
tree9db804bcde6725ec77e4cdeca99e4a0a3059e1d4 /base/crypto/signature_creator_win.cc
parent6ee87bab5e44d7d3de12def0e74ea1859c7cf66f (diff)
downloadchromium_src-9719a89d33e1bb6c677d521607862aa9dbae9a54.zip
chromium_src-9719a89d33e1bb6c677d521607862aa9dbae9a54.tar.gz
chromium_src-9719a89d33e1bb6c677d521607862aa9dbae9a54.tar.bz2
Linux (nss) implementations of RSAPrivateKey and SignatureCreator
BUG=20669 Review URL: http://codereview.chromium.org/208032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/crypto/signature_creator_win.cc')
-rw-r--r--base/crypto/signature_creator_win.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/crypto/signature_creator_win.cc b/base/crypto/signature_creator_win.cc
index 78e4964..700a309 100644
--- a/base/crypto/signature_creator_win.cc
+++ b/base/crypto/signature_creator_win.cc
@@ -23,6 +23,8 @@ SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key) {
return result.release();
}
+SignatureCreator::SignatureCreator() : hash_object_(0) {}
+
SignatureCreator::~SignatureCreator() {
if (hash_object_) {
if (!CryptDestroyHash(hash_object_))