projects
/
epoint
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update the codebase to latest go src (time, hash, strconv)
[epoint]
/
cmd
/
genpqg
/
genpqg.go
diff --git
a/cmd/genpqg/genpqg.go
b/cmd/genpqg/genpqg.go
index
0bd80e3
..
f26f18e
100644
(file)
--- a/
cmd/genpqg/genpqg.go
+++ b/
cmd/genpqg/genpqg.go
@@
-27,7
+27,7
@@
var r = &prng{[]byte{
func (r *prng) Read(p []byte) (n int, err error) {
h := sha1.New()
h.Write(r.state)
- r.state = h.Sum()
+ r.state = h.Sum(
nil
)
n = copy(p, r.state)
return
}