aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/gcrypt/gcrypt_rsa_public_key.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-06-16 14:21:55 +0200
committerMartin Willi <martin@strongswan.org>2009-06-16 14:21:55 +0200
commit24d7b25d21e393a9ed3fbed2def833f3bce8210a (patch)
tree97818152540f65a1e1d4f1031aedf43303908742 /src/libstrongswan/plugins/gcrypt/gcrypt_rsa_public_key.c
parent0c013ff3456ad725cccd91bbda38e0cf365c09b0 (diff)
downloadstrongswan-24d7b25d21e393a9ed3fbed2def833f3bce8210a.tar.bz2
strongswan-24d7b25d21e393a9ed3fbed2def833f3bce8210a.tar.xz
fixed compiler warning
Diffstat (limited to 'src/libstrongswan/plugins/gcrypt/gcrypt_rsa_public_key.c')
-rw-r--r--src/libstrongswan/plugins/gcrypt/gcrypt_rsa_public_key.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/gcrypt/gcrypt_rsa_public_key.c b/src/libstrongswan/plugins/gcrypt/gcrypt_rsa_public_key.c
index 909c43c74..8024f58a7 100644
--- a/src/libstrongswan/plugins/gcrypt/gcrypt_rsa_public_key.c
+++ b/src/libstrongswan/plugins/gcrypt/gcrypt_rsa_public_key.c
@@ -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))
{