Skip to content

Can use evutil_secure_rng_get_bytes() instead of reading /dev/urandom #2

Description

@snej

libws directly opens a file handle on /dev/urandom to generate random numbers. It would be a lot simpler (and would conserve file handles) to call the libevent function evutil_secure_rng_get_bytes instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions