summaryrefslogtreecommitdiff
path: root/src/ne_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ne_auth.c')
-rw-r--r--src/ne_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ne_auth.c b/src/ne_auth.c
index 96f34d3..c6383ee 100644
--- a/src/ne_auth.c
+++ b/src/ne_auth.c
@@ -333,7 +333,7 @@ static char *get_cnonce(void)
}
else
#elif defined(HAVE_OPENSSL)
- if (RAND_status() == 1 && RAND_pseudo_bytes(data, sizeof data) >= 0) {
+ if (RAND_status() == 1 && RAND_bytes(data, sizeof data) >= 0) {
ne_md5_process_bytes(data, sizeof data, hash);
}
else