aboutsummaryrefslogtreecommitdiff
path: root/src/proone-mask.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proone-mask.c')
-rw-r--r--src/proone-mask.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proone-mask.c b/src/proone-mask.c
index 3385c5a..aa39d56 100644
--- a/src/proone-mask.c
+++ b/src/proone-mask.c
@@ -9,6 +9,7 @@
#include <sys/random.h>
#include "dvault.h"
+#include "util_rt.h"
int main (const int argc, char **args) {
@@ -43,7 +44,7 @@ int main (const int argc, char **args) {
}
}
else {
- getrandom(&salt, sizeof(salt), 0);
+ prne_geturandom(&salt, sizeof(salt));
}
type = prne_data_type_fstr(args[1]);