coverity#1079288 Uninitialized scalar field

Change-Id: I0fb9e547b73b563725eb8014f68224706df3c39d
This commit is contained in:
Caolán McNamara
2014-02-10 10:48:41 +00:00
parent 4a8a30f941
commit 02386ef8bc

View File

@@ -51,8 +51,9 @@ EncryptionStandardHeader::EncryptionStandardHeader()
}
EncryptionVerifierAES::EncryptionVerifierAES()
: saltSize(SALT_LENGTH)
, encryptedVerifierHashSize(RTL_DIGEST_LENGTH_SHA1)
{
saltSize = SALT_LENGTH;
memset(salt, 0, sizeof(salt));
memset(encryptedVerifier, 0, sizeof(encryptedVerifier));
memset(encryptedVerifierHash, 0, sizeof(encryptedVerifierHash));