summaryrefslogtreecommitdiff
path: root/snac.c
diff options
context:
space:
mode:
Diffstat (limited to 'snac.c')
-rw-r--r--snac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/snac.c b/snac.c
index f818dd8..a5b2080 100644
--- a/snac.c
+++ b/snac.c
@@ -123,7 +123,7 @@ d_char *hash_password(const char *uid, const char *passwd, const char *nonce)
xs *hash;
if (nonce == NULL) {
- d_nonce = xs_fmt("%08x", arc4random());
+ d_nonce = xs_fmt("%08x", random());
nonce = d_nonce;
}