fixed compiler warning
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user