[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #21796 [Core Tor/Tor]: missing evutil_secure_rng_add_bytes()
#21796: missing evutil_secure_rng_add_bytes()
------------------------------+-----------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+-----------------
CC src/common/compat_libevent.o
src/common/compat_libevent.c:234:3: error: implicit declaration of
function
'evutil_secure_rng_add_bytes' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
evutil_secure_rng_add_bytes(buf, 32);
^
src/common/compat_libevent.c:234:3: note: did you mean
'evutil_secure_rng_get_bytes'?
/tmp/include/event2/util.h:808:6: note: 'evutil_secure_rng_get_bytes'
declared
here
void evutil_secure_rng_get_bytes(void *buf, size_t n);
^
src/common/compat_libevent.c:234:3: error: this function declaration is
not a
prototype [-Werror,-Wstrict-prototypes]
evutil_secure_rng_add_bytes(buf, 32);
^
2 errors generated.
Makefile:4834: recipe for target 'src/common/compat_libevent.o' failed
as of libevent git commit 6541168d7037457b8e5c51cc354f11bd94e618b6, the
function evutil_secure_rng_add_bytes() is only exposed for platforms with
arc4random_addrandom().
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21796>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs