diff options
| author | Michael McConville <momcconville@gmail.com> | 2016-01-02 20:50:57 -0500 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-02-26 19:58:09 +0000 |
| commit | ddfe7b3dc00291862f33224b68ffdad0ef4001ab (patch) | |
| tree | 35aae10288d911acf65b366580a48059510f2433 /src/testing | |
| parent | ee177279a00398d7a986fbaa1db527845c6a888b (diff) | |
| download | go-ddfe7b3dc00291862f33224b68ffdad0ef4001ab.tar.xz | |
crypto/rand: use the getentropy syscall on OpenBSD
Go already supports Linux's getrandom, which is a slightly modified
version of getentropy.
getentropy was added in OpenBSD 5.6. All supported versions of OpenBSD
include it so, unlike with Linux and getrandom, we don't need to test
for its presence.
Fixes #13785.
Change-Id: Ib536b96675f257cd8c5de1e3a36165e15c9abac9
Reviewed-on: https://go-review.googlesource.com/18219
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions
