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 | 2fa0aa06d5d8b4f28e038e9bf8179f61ce3c6ba5 (patch) | |
tree | 676d8df02e0a42ffb5b6f646192e57e3a625fd49 /spec | |
parent | 5d87a7d46ffa09262fcc6813b7bc6ce63992abd1 (diff) | |
download | prosody-2fa0aa06d5d8b4f28e038e9bf8179f61ce3c6ba5.tar.gz prosody-2fa0aa06d5d8b4f28e038e9bf8179f61ce3c6ba5.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; |