]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
initialize variables to avoid compiler warning
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 5 Feb 2010 11:34:37 +0000 (12:34 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 5 Feb 2010 11:34:37 +0000 (12:34 +0100)
src/libstrongswan/plugins/x509/x509_cert.c

index ff8bcb2230466b477baed193071563e8fafd1e42..3b729236ec8bbcb7bc68f96f0651f2003e363a53 100644 (file)
@@ -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);