about summary refs log tree commit diff
path: root/src/libnm-glib-aux/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-glib-aux/tests')
-rw-r--r--src/libnm-glib-aux/tests/test-shared-general.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnm-glib-aux/tests/test-shared-general.c b/src/libnm-glib-aux/tests/test-shared-general.c
index e7fd2b6b..9acd535d 100644
--- a/src/libnm-glib-aux/tests/test-shared-general.c
+++ b/src/libnm-glib-aux/tests/test-shared-general.c
@@ -93,7 +93,7 @@ test_nmhash(void)
 {
     int rnd;
 
-    nm_utils_random_bytes(&rnd, sizeof(rnd));
+    nm_random_get_bytes(&rnd, sizeof(rnd));
 
     g_assert(nm_hash_val(555, 4) != 0);
 }