Properly initialize variable 'critical'.
authorTobias Brunner <tobias@strongswan.org>
Fri, 4 Feb 2011 17:01:47 +0000 (18:01 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 4 Feb 2011 17:02:49 +0000 (18:02 +0100)
src/libstrongswan/plugins/x509/x509_crl.c

index 06936c8..afb8ebd 100644 (file)
@@ -226,7 +226,7 @@ static bool parse(private_x509_crl_t *this)
        int objectID;
        int sig_alg = OID_UNKNOWN;
        bool success = FALSE;
-       bool critical;
+       bool critical = FALSE;
        revoked_t *revoked = NULL;
 
        parser = asn1_parser_create(crlObjects, this->encoding);