diff options
Diffstat (limited to 'libgo/go/websocket/hybi.go')
-rw-r--r-- | libgo/go/websocket/hybi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/websocket/hybi.go b/libgo/go/websocket/hybi.go index b17d947..ff386dc 100644 --- a/libgo/go/websocket/hybi.go +++ b/libgo/go/websocket/hybi.go @@ -371,7 +371,7 @@ func getNonceAccept(nonce []byte) (expected []byte, err error) { return } expected = make([]byte, 28) - base64.StdEncoding.Encode(expected, h.Sum()) + base64.StdEncoding.Encode(expected, h.Sum(nil)) return } |