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

Unified Diff: base/crypto/signature_creator_win.cc

Issue 208032: Linux (nss) implementations of RSAPrivateKey and SignatureCreator (Closed)
Patch Set: last cr changes. Created 11 years, 3 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
« no previous file with comments | « base/crypto/signature_creator_nss.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/crypto/signature_creator_win.cc
diff --git a/base/crypto/signature_creator_win.cc b/base/crypto/signature_creator_win.cc
index 78e496420da7524bce1cd080c47837c5d997c733..700a3094d4708d2399be385d06c47d22412b6833 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_))
« no previous file with comments | « base/crypto/signature_creator_nss.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698