Update golang x/crypto dependencies (#2923) (#2951)

* Update golang x/crypto dependencies (#2923)

* Fix govendor for x/crupto curve25519 (#2925)
This commit is contained in:
Lauris BH
2017-11-21 06:25:53 +02:00
committed by GitHub
parent c31e8777b7
commit be41955407
31 changed files with 1341 additions and 492 deletions

View File

@@ -51,13 +51,12 @@ func (b *buffer) write(buf []byte) {
}
// eof closes the buffer. Reads from the buffer once all
// the data has been consumed will receive os.EOF.
func (b *buffer) eof() error {
// the data has been consumed will receive io.EOF.
func (b *buffer) eof() {
b.Cond.L.Lock()
b.closed = true
b.Cond.Signal()
b.Cond.L.Unlock()
return nil
}
// Read reads data from the internal buffer in buf. Reads will block