pkcs8: Initialize salt and IV properly.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user