[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: test_digestauth_concurrent: fixed
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: test_digestauth_concurrent: fixed non-W32 random generation |
Date: |
Mon, 31 Jan 2022 13:58:28 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 1e82d322 test_digestauth_concurrent: fixed non-W32 random generation
1e82d322 is described below
commit 1e82d32256c98de9bda8b61444eb53c626f76561
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Jan 31 15:58:24 2022 +0300
test_digestauth_concurrent: fixed non-W32 random generation
---
src/testcurl/test_digestauth_concurrent.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/testcurl/test_digestauth_concurrent.c
b/src/testcurl/test_digestauth_concurrent.c
index 40f292bb..ecb1771e 100644
--- a/src/testcurl/test_digestauth_concurrent.c
+++ b/src/testcurl/test_digestauth_concurrent.c
@@ -420,7 +420,7 @@ getRnd (void *buf, size_t size)
res = read (fd, ((uint8_t *) buf) + off, size - off);
if (0 > res)
externalErrorExitDesc ("Failed to read '/dev/urandom'");
- off += (size_t) len;
+ off += (size_t) res;
} while (off < size);
(void) close (fd);
#else
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: test_digestauth_concurrent: fixed non-W32 random generation,
gnunet <=