]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-random-util.c
random-util: optionally enable blocking getrandom() behaviour
[thirdparty/systemd.git] / src / test / test-random-util.c
index adb2588f00bc6f966c6ce4c6c213ac80f28715d6..79c65a148ce3dd1b9eb6c832eb7f5e563b096694 100644 (file)
@@ -56,6 +56,7 @@ int main(int argc, char **argv) {
 
         test_genuine_random_bytes(RANDOM_EXTEND_WITH_PSEUDO);
         test_genuine_random_bytes(0);
+        test_genuine_random_bytes(RANDOM_BLOCK);
 
         test_pseudo_random_bytes();