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
commit00bad1a9fe73d56a6e48878a48505f2b6f4b8de3 (patch)
tree676d8df02e0a42ffb5b6f646192e57e3a625fd49 /spec/net_websocket_frames_spec.lua
parentfb1808b185a63dc9855f75cd282899d2bbcfe684 (diff)
downloadprosody-00bad1a9fe73d56a6e48878a48505f2b6f4b8de3.tar.gz
prosody-00bad1a9fe73d56a6e48878a48505f2b6f4b8de3.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;