summaryrefslogtreecommitdiffstats
path: root/crypto/signature_creator_nss.cc
diff options
context:
space:
mode:
authortbreisacher@chromium.org <tbreisacher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-30 21:37:19 +0000
committertbreisacher@chromium.org <tbreisacher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-30 21:37:19 +0000
commit335b0dcaf5a24310a5d2ecd5643fcd3106de3e45 (patch)
tree31a6d84334b9f8054cf50753109010abd850365c /crypto/signature_creator_nss.cc
parente7f58e146e4015f7559c136bea21d9f7c93fe491 (diff)
downloadchromium_src-335b0dcaf5a24310a5d2ecd5643fcd3106de3e45.zip
chromium_src-335b0dcaf5a24310a5d2ecd5643fcd3106de3e45.tar.gz
chromium_src-335b0dcaf5a24310a5d2ecd5643fcd3106de3e45.tar.bz2
init key_ in ctor
CID=16392 BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9861027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129953 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/signature_creator_nss.cc')
-rw-r--r--crypto/signature_creator_nss.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/signature_creator_nss.cc b/crypto/signature_creator_nss.cc
index 95b2442..3a30efb 100644
--- a/crypto/signature_creator_nss.cc
+++ b/crypto/signature_creator_nss.cc
@@ -70,7 +70,9 @@ bool SignatureCreator::Final(std::vector<uint8>* signature) {
return true;
}
-SignatureCreator::SignatureCreator() : sign_context_(NULL) {
+SignatureCreator::SignatureCreator()
+ : key_(NULL),
+ sign_context_(NULL) {
EnsureNSSInit();
}