]> Cypherpunks repositories - gostls13.git/commit
archive/zip, crypto/tls: use rand.Read instead of casting ints to bytes
authorCarl Mastrangelo <carl.mastrangelo@gmail.com>
Mon, 3 Jul 2017 22:38:55 +0000 (15:38 -0700)
committerFilippo Valsorda <hi@filippo.io>
Wed, 1 Nov 2017 05:51:30 +0000 (05:51 +0000)
commitf265f5db5d71f120eb6e2cec25ab6dfc3fb249f3
treedbac9ccd39900bf9c80a7301881f1500ab722daf
parentfb1fd6aee6af655a54193d961d5f11ff16580e6a
archive/zip, crypto/tls: use rand.Read instead of casting ints to bytes

Makes tests run ~1ms faster.

Change-Id: Ida509952469540280996d2bd9266724829e53c91
Reviewed-on: https://go-review.googlesource.com/47359
Reviewed-by: Filippo Valsorda <hi@filippo.io>
Run-TryBot: Filippo Valsorda <hi@filippo.io>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/archive/zip/writer_test.go
src/crypto/tls/handshake_messages_test.go