]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
unit-tests: Fixed newhope plugin test
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 4 Jul 2018 17:12:19 +0000 (19:12 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 14 May 2019 08:44:18 +0000 (10:44 +0200)
src/libstrongswan/plugins/newhope/tests/suites/test_newhope_ke.c

index 33b744fe19df617ffdf66a7f1baf14fd1f5f3a87..ded5b0ae9f17dfcc11ca339bb8b9d74f76b65524 100644 (file)
@@ -39,7 +39,7 @@ START_TEST(test_newhope_ke_good)
                ck_assert(i_nh->get_dh_group(i_nh) == NH_128_BIT);
 
                ck_assert(i_nh->get_my_public_value(i_nh, &i_msg));
-               ck_assert(i_msg.len = 1824);
+               ck_assert(i_msg.len == 1824);
 
                r_nh = lib->crypto->create_dh(lib->crypto, NH_128_BIT);
                ck_assert(r_nh != NULL);