aboutsummaryrefslogtreecommitdiffstats
path: root/spec/net_websocket_frames_spec.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-14 19:41:42 +0200
committerKim Alvefur <zash@zash.se>2020-10-14 19:41:42 +0200
commit2fa0aa06d5d8b4f28e038e9bf8179f61ce3c6ba5 (patch)
tree676d8df02e0a42ffb5b6f646192e57e3a625fd49 /spec/net_websocket_frames_spec.lua
parent5d87a7d46ffa09262fcc6813b7bc6ce63992abd1 (diff)
downloadprosody-2fa0aa06d5d8b4f28e038e9bf8179f61ce3c6ba5.tar.gz
prosody-2fa0aa06d5d8b4f28e038e9bf8179f61ce3c6ba5.zip
net.websocket.frames: Use C string XOR implementation
Diffstat (limited to 'spec/net_websocket_frames_spec.lua')
-rw-r--r--spec/net_websocket_frames_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/net_websocket_frames_spec.lua b/spec/net_websocket_frames_spec.lua
index 9499cee7..244afa3b 100644
--- a/spec/net_websocket_frames_spec.lua
+++ b/spec/net_websocket_frames_spec.lua
@@ -36,7 +36,7 @@ describe("net.websocket.frames", function ()
["opcode"] = 0;
["length"] = 5;
["data"] = "hello";
- ["key"] = { 32, 0, 32, 0, };
+ ["key"] = " \0 \0";
["FIN"] = true;
["MASK"] = true;
["RSV1"] = false;