Hello,

I opened an issue upstream [1] to ask for feedbacks. Azat suggest to change the function signature from

void evutil_secure_rng_add_bytes(const char *buf, size_t n);

to:
int evutil_secure_rng_add_bytes(const char *buf, size_t n)

and make evutil_secure_rng_add_bytes to return -1, to make it more explicit that the function is no-oped.

I understand and I tend to agree with this suggestion, but I'm wondering if this solution is correct for this bug?

The symbol would still be the same, but would the signature change introduce problems in the libevent package dependencies and build-deps?

Any thoughts?

/Nicolas

[1] https://github.com/libevent/libevent/issues/1393

Reply via email to