bliss sampler unit-test: Fixed enumeration type
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 22 Sep 2016 08:46:39 +0000 (10:46 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 22 Sep 2016 08:46:39 +0000 (10:46 +0200)
src/libstrongswan/plugins/bliss/tests/suites/test_bliss_sampler.c

index 29f0b94..26c5b60 100644 (file)
@@ -26,12 +26,12 @@ START_TEST(test_bliss_sampler_gaussian)
        int i, k, count;
        uint32_t hist[8], sign[3];
        int32_t z;
-       hash_algorithm_t alg;
+       ext_out_function_t alg;
        size_t seed_len;
        chunk_t seed;
 
        set = bliss_param_set_get_by_id(key_size[_i]);
-       alg = HASH_SHA256;
+       alg = XOF_MGF1_SHA256;
        seed_len = 32;
        count = 10000000;