aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Frank Denis <github@pureftpd.org>2018-01-04 13:49:45 +0100
committerGravatar Frank Denis <github@pureftpd.org>2018-01-04 13:49:45 +0100
commit33ce2045b81fa434fa478a55282cf8406f0b462f (patch)
treecc2eb07409dbc54153841e9cb0ce03a45562fb01 /src
parentf9a608058d0c4092f318065a41a6399cd5be13ae (diff)
downloadtweetpipe-33ce2045b81fa434fa478a55282cf8406f0b462f.tar.gz
Update libhydrogen0.4
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);