Skip to content

Commit

Permalink
#314 oops, no local 'params' var here
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 2, 2024
1 parent 1d2c623 commit f7f92bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html5/js/Protocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ class XpraProtocol {
const payload_size = bdata.length;

if (this.cipher_out_key) {
console.log("encrypt", JSON.stringify(params), bdata);
console.log("encrypt", JSON.stringify(this.cipher_out_params), bdata);
crypto.subtle.encrypt(this.cipher_out_params, this.cipher_out_key, bdata)
.then(encrypted => this.send_packet(encrypted, payload_size, true))
.catch(err => this.protocol_error("failed to encrypt packet!"));
Expand Down

0 comments on commit f7f92bd

Please sign in to comment.