x509: Initialize signature params when parsing attribute certificates
authorTobias Brunner <tobias@strongswan.org>
Wed, 15 Nov 2017 13:41:56 +0000 (14:41 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 15 Nov 2017 13:41:56 +0000 (14:41 +0100)
src/libstrongswan/plugins/x509/x509_ac.c

index 8e2b4c1..7a5a31a 100644 (file)
@@ -426,7 +426,7 @@ static bool parse_certificate(private_x509_ac_t *this)
        int objectID;
        int type     = OID_UNKNOWN;
        int extn_oid = OID_UNKNOWN;
-       signature_params_t sig_alg;
+       signature_params_t sig_alg = {};
        bool success = FALSE;
        bool critical;