Also initialize s_sign
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 12 Dec 2014 12:24:11 +0000 (13:24 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 12 Dec 2014 12:24:11 +0000 (13:24 +0100)
src/libstrongswan/plugins/bliss/bliss_private_key.c

index 4f241bf..661b4f8 100644 (file)
@@ -1004,7 +1004,7 @@ bliss_private_key_t *bliss_private_key_load(key_type_t type, va_list args)
        bliss_bitpacker_t *packer;
        asn1_parser_t *parser;
        size_t s_bits = 0;
-       uint32_t s_sign, s_mask = 0, value;
+       uint32_t s_sign = 0x02, s_mask = 0xfffffffc, value;
        bool success = FALSE;
        int objectID, oid, i;