aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_pseudonym.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_pseudonym.c')
-rw-r--r--src/util/test_pseudonym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_pseudonym.c b/src/util/test_pseudonym.c
index d358c8210..daa4c3168 100644
--- a/src/util/test_pseudonym.c
+++ b/src/util/test_pseudonym.c
@@ -99,7 +99,7 @@ main (int argc, char *argv[])
99 old = GNUNET_PSEUDONYM_list_all (cfg, NULL, NULL); 99 old = GNUNET_PSEUDONYM_list_all (cfg, NULL, NULL);
100 meta = GNUNET_CONTAINER_meta_data_create (); 100 meta = GNUNET_CONTAINER_meta_data_create ();
101 GNUNET_CONTAINER_meta_data_insert (meta, EXTRACTOR_TITLE, "test"); 101 GNUNET_CONTAINER_meta_data_insert (meta, EXTRACTOR_TITLE, "test");
102 GNUNET_CRYPTO_hash_create_random (&id1); 102 GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &id1);
103 GNUNET_PSEUDONYM_add (cfg, &id1, meta); 103 GNUNET_PSEUDONYM_add (cfg, &id1, meta);
104 CHECK (notiCount == 1); 104 CHECK (notiCount == 1);
105 GNUNET_PSEUDONYM_add (cfg, &id1, meta); 105 GNUNET_PSEUDONYM_add (cfg, &id1, meta);
@@ -107,7 +107,7 @@ main (int argc, char *argv[])
107 newVal = GNUNET_PSEUDONYM_list_all (cfg, &iter, &ok); 107 newVal = GNUNET_PSEUDONYM_list_all (cfg, &iter, &ok);
108 CHECK (old < newVal); 108 CHECK (old < newVal);
109 old = newVal; 109 old = newVal;
110 GNUNET_CRYPTO_hash_create_random (&id2); 110 GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &id2);
111 GNUNET_PSEUDONYM_add (cfg, &id2, meta); 111 GNUNET_PSEUDONYM_add (cfg, &id2, meta);
112 CHECK (notiCount == 3); 112 CHECK (notiCount == 3);
113 newVal = GNUNET_PSEUDONYM_list_all (cfg, &iter, &ok); 113 newVal = GNUNET_PSEUDONYM_list_all (cfg, &iter, &ok);