diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/p224_spake.cc | 3 | ||||
-rw-r--r-- | crypto/signature_creator_win.cc | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/crypto/p224_spake.cc b/crypto/p224_spake.cc index af3c2b8..ec0c416 100644 --- a/crypto/p224_spake.cc +++ b/crypto/p224_spake.cc @@ -99,9 +99,6 @@ P224EncryptedKeyExchange::P224EncryptedKeyExchange( PeerType peer_type, const base::StringPiece& password) : state_(kStateInitial), is_server_(peer_type == kPeerTypeServer) { - memset(&x_, 0, sizeof(x_)); - memset(&expected_authenticator_, 0, sizeof(expected_authenticator_)); - // x_ is a random scalar. base::RandBytes(x_, sizeof(x_)); diff --git a/crypto/signature_creator_win.cc b/crypto/signature_creator_win.cc index 94fe87d..244b06a 100644 --- a/crypto/signature_creator_win.cc +++ b/crypto/signature_creator_win.cc @@ -23,7 +23,7 @@ SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key) { return result.release(); } -SignatureCreator::SignatureCreator() : key_(NULL), hash_object_(0) {} +SignatureCreator::SignatureCreator() : hash_object_(0) {} SignatureCreator::~SignatureCreator() {} |