Commit 1757b5cc authored by Keith Randall's avatar Keith Randall

runtime: fix nacl build

Change-Id: Ifa8b2d1d1cebe72f795db34974584a888d55cbd8
Reviewed-on: https://go-review.googlesource.com/1362Reviewed-by: default avatarKeith Randall <khr@golang.org>
parent 33da2430
...@@ -47,9 +47,9 @@ func crash() { ...@@ -47,9 +47,9 @@ func crash() {
} }
//go:nosplit //go:nosplit
func get_random_data(rnd *unsafe.Pointer, rnd_len *int32) { func getRandomData(r []byte) {
*rnd = nil // TODO: does nacl have a random source we can use?
*rnd_len = 0 extendRandom(r, 0)
} }
func goenvs() { func goenvs() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment