diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-14 19:41:42 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-14 19:41:42 +0200 |
commit | 00bad1a9fe73d56a6e48878a48505f2b6f4b8de3 (patch) | |
tree | 676d8df02e0a42ffb5b6f646192e57e3a625fd49 /spec | |
parent | fb1808b185a63dc9855f75cd282899d2bbcfe684 (diff) | |
download | prosody-00bad1a9fe73d56a6e48878a48505f2b6f4b8de3.tar.gz prosody-00bad1a9fe73d56a6e48878a48505f2b6f4b8de3.zip |
net.websocket.frames: Use C string XOR implementation
Diffstat (limited to 'spec')
-rw-r--r-- | spec/net_websocket_frames_spec.lua | 2 |
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; |