aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/encpipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encpipe.c b/src/encpipe.c
index 032d1d6..e0f206d 100644
--- a/src/encpipe.c
+++ b/src/encpipe.c
@@ -170,7 +170,7 @@ passgen(void)
unsigned char password[32];
char hex[32 * 2 + 1];
- randombytes_buf(password, sizeof password);
+ hydro_random_buf(password, sizeof password);
hydro_bin2hex(hex, sizeof hex, password, sizeof password);
puts(hex);
hydro_memzero(password, sizeof password);