pkcs8: Initialize salt and IV properly.

This commit is contained in:
Tobias Brunner
2012-05-18 08:36:37 +02:00
parent 5c162dd944
commit 816f7f238f
@@ -535,7 +535,7 @@ static const asn1Object_t encryptedPKIObjects[] = {
static private_key_t *parse_encrypted_private_key(chunk_t blob)
{
asn1_parser_t *parser;
chunk_t object, params, salt, iv;
chunk_t object, params, salt = chunk_empty, iv = chunk_empty;
u_int64_t iterations = 0;
int objectID;
encryption_algorithm_t encr = ENCR_UNDEFINED;