]> Cypherpunks repositories - gostls13.git/commit
crypto/rand: supports for getrandom syscall in DragonFlyBSD
authorDavid Carlier <devnexen@gmail.com>
Tue, 9 Mar 2021 19:13:37 +0000 (19:13 +0000)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 10 Mar 2021 09:01:05 +0000 (09:01 +0000)
commitcf598504669524a9f7002f6b6c1cb4e567ea4e9e
tree0c2efcef3df03543a0e5b938874e015b4ee04c78
parent4d608eb224fe1ba8e8532fcc44f91702a5b17f9f
crypto/rand: supports for getrandom syscall in DragonFlyBSD

Since the 5.7 release, DragonFlyBSD supports as well
the getrandom function, the actual stable is 5.8.

Change-Id: I2b8fc468771b10ac12b38ea7e8e5314342de6375
GitHub-Last-Rev: c5c496f41898d58f2c6f3ccc81f754792f49edbe
GitHub-Pull-Request: golang/go#42617
Reviewed-on: https://go-review.googlesource.com/c/go/+/269999
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Trust: Ian Lance Taylor <iant@golang.org>
Trust: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
src/crypto/rand/rand_batched.go
src/crypto/rand/rand_batched_test.go
src/crypto/rand/rand_dragonfly.go [new file with mode: 0644]
src/internal/syscall/unix/getrandom_dragonfly.go [new file with mode: 0644]