]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 a3e4420a9da5fc04c89924c2f678fc683b37e02a..d871068dabae15f90412791976611e954de68c80 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,