bliss: Fix compile error of unit tests due to uninitialized variable
authorTobias Brunner <tobias@strongswan.org>
Thu, 14 Sep 2017 16:04:38 +0000 (18:04 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 18 Sep 2017 10:16:54 +0000 (12:16 +0200)
src/libstrongswan/plugins/bliss/tests/suites/test_bliss_sign.c

index a3e4420..d871068 100644 (file)
@@ -134,7 +134,7 @@ START_TEST(test_bliss_sign_fail)
 {
        private_key_t *privkey;
        public_key_t *pubkey;
-       chunk_t msg, signature, encoding, fp;
+       chunk_t msg = chunk_empty, signature, encoding, fp;
 
        /* generate non-supported BLISS-II private key */
        privkey = lib->creds->create(lib->creds, CRED_PRIVATE_KEY, KEY_BLISS,