summaryrefslogtreecommitdiff
path: root/libgo/go/websocket/hixie.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/websocket/hixie.go')
-rw-r--r--libgo/go/websocket/hixie.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/websocket/hixie.go b/libgo/go/websocket/hixie.go
index 4d5360ff4b9..ec7b7ae0a45 100644
--- a/libgo/go/websocket/hixie.go
+++ b/libgo/go/websocket/hixie.go
@@ -274,7 +274,7 @@ func getChallengeResponse(number1, number2 uint32, key3 []byte) (expected []byte
if _, err = h.Write(challenge); err != nil {
return
}
- expected = h.Sum()
+ expected = h.Sum(nil)
return
}