Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back empty slice check #298

Merged
merged 1 commit into from Oct 21, 2022
Merged

Add back empty slice check #298

merged 1 commit into from Oct 21, 2022

Commits on Oct 21, 2022

  1. Add back empty slice check

    #291 inadvertantly removed
    this check
    
    See #104 for why this was
    added in the first place. Also, per our docs:
    
    > If `dest` is empty, `getrandom` immediately returns success, making
    > no calls to the underlying operating system.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Oct 21, 2022
    Copy the full SHA
    207ac4c View commit details
    Browse the repository at this point in the history