diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-02-05 12:34:37 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-02-05 12:34:37 +0100 |
commit | b917f49684933dfd27188a7a72a9e1bcded5befb (patch) | |
tree | e49f7cf55a5091b39528217a6a7aa6b4528037b0 /src/libstrongswan | |
parent | 313a53d4fc65b5da50a2a500cbb323abe8ea8704 (diff) | |
download | strongswan-b917f49684933dfd27188a7a72a9e1bcded5befb.tar.bz2 strongswan-b917f49684933dfd27188a7a72a9e1bcded5befb.tar.xz |
initialize variables to avoid compiler warning
Diffstat (limited to 'src/libstrongswan')
-rw-r--r-- | src/libstrongswan/plugins/x509/x509_cert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/plugins/x509/x509_cert.c b/src/libstrongswan/plugins/x509/x509_cert.c index ff8bcb223..3b729236e 100644 --- a/src/libstrongswan/plugins/x509/x509_cert.c +++ b/src/libstrongswan/plugins/x509/x509_cert.c @@ -742,7 +742,7 @@ static void parse_ipAddrBlocks(chunk_t blob, int level0, { asn1_parser_t *parser; chunk_t object, min_object; - ts_type_t ts_type; + ts_type_t ts_type = 0; traffic_selector_t *ts; int objectID; @@ -876,7 +876,7 @@ static bool parse_certificate(private_x509_cert_t *this) int extn_oid = OID_UNKNOWN; int sig_alg = OID_UNKNOWN; bool success = FALSE; - bool critical; + bool critical = FALSE; parser = asn1_parser_create(certObjects, this->encoding); |