]> Cypherpunks repositories - gostls13.git/commit
crypto/rand: handle EAGAIN reads from /dev/urandom
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Dec 2014 04:11:43 +0000 (15:11 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Dec 2014 04:52:09 +0000 (04:52 +0000)
commit5308c6d9325735ab4e69620e99aaa8d119e02941
treeb150120bc6181c5146f73b1b067dd73fe24f5e49
parent8655f04d8e21884ab69c89eb760df2e31245af91
crypto/rand: handle EAGAIN reads from /dev/urandom

Fixes #9205

Change-Id: Iacd608ba43332008984aa8ece17dcb5757f27b3f
Reviewed-on: https://go-review.googlesource.com/1611
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/crypto/rand/eagain.go [new file with mode: 0644]
src/crypto/rand/rand_unix.go