fixed compiler warning

This commit is contained in:
Martin Willi
2009-06-16 14:21:55 +02:00
parent 0c013ff345
commit 24d7b25d21
2 changed files with 4 additions and 0 deletions
@@ -577,6 +577,8 @@ static gcrypt_rsa_private_key_t *load(chunk_t blob)
chunk_t n, e, d, u, p, q;
gcry_error_t err;
n = e = d = u = p = q = chunk_empty;
parser = asn1_parser_create(privkeyObjects, blob);
parser->set_flags(parser, FALSE, TRUE);
@@ -398,6 +398,8 @@ static gcrypt_rsa_public_key_t *load(chunk_t blob)
bool success = FALSE;
gcry_error_t err;
n = e = chunk_empty;
parser = asn1_parser_create(pubkeyObjects, blob);
while (parser->iterate(parser, &objectID, &object))
{