Compiler warnings fixed.

This commit is contained in:
Tobias Brunner
2012-02-14 16:09:44 +01:00
parent 0f7d381cfe
commit a190ec0ac5
2 changed files with 2 additions and 2 deletions
@@ -726,7 +726,7 @@ pkcs11_public_key_t *pkcs11_public_key_load(key_type_t type, va_list args)
{ {
private_pkcs11_public_key_t *this; private_pkcs11_public_key_t *this;
chunk_t n, e, blob; chunk_t n, e, blob;
size_t keylen; size_t keylen = 0;
n = e = blob = chunk_empty; n = e = blob = chunk_empty;
while (TRUE) while (TRUE)
@@ -536,7 +536,7 @@ static private_key_t *parse_encrypted_private_key(chunk_t blob)
{ {
asn1_parser_t *parser; asn1_parser_t *parser;
chunk_t object, params, salt, iv; chunk_t object, params, salt, iv;
u_int64_t iterations; u_int64_t iterations = 0;
int objectID; int objectID;
encryption_algorithm_t encr = ENCR_UNDEFINED; encryption_algorithm_t encr = ENCR_UNDEFINED;
hash_algorithm_t hash = HASH_UNKNOWN; hash_algorithm_t hash = HASH_UNKNOWN;