Skip to content
Snippets Groups Projects
Commit 3390bd9b authored by Jens Henrik Göbbert's avatar Jens Henrik Göbbert
Browse files

remove debug-info

parent ba5f332f
Branches
Tags
No related merge requests found
--- a/html5/js/Protocol.js.orig 2022-03-28 12:59:40.198667996 +0200 --- a/html5/js/Protocol.js.orig 2022-03-28 12:59:40.198667996 +0200
+++ b/html5/js/Protocol.js 2022-03-28 13:02:38.099943598 +0200 +++ b/html5/js/Protocol.js 2022-03-28 13:02:38.099943598 +0200
@@ -631,6 +631,14 @@ @@ -631,6 +631,10 @@
throw "unsupported encryption specified: '"+cipher+"'"; throw "unsupported encryption specified: '"+cipher+"'";
} }
const key_salt = caps["cipher.key_salt"]; const key_salt = caps["cipher.key_salt"];
...@@ -8,10 +8,6 @@ ...@@ -8,10 +8,6 @@
+ if (typeof key_salt !== 'string') { + if (typeof key_salt !== 'string') {
+ key_salt = String.fromCharCode.apply(null, key_salt); + key_salt = String.fromCharCode.apply(null, key_salt);
+ } + }
+ console.warn("key_salt=", key_salt);
+ console.log("key_salt=", key_salt.constructor);
+ console.log("key_salt=", typeof key_salt);
+ console.log("from packet encoder", this.packet_encoder);
const iterations = caps["cipher.key_stretch_iterations"]; const iterations = caps["cipher.key_stretch_iterations"];
if (iterations<0) { if (iterations<0) {
throw "invalid number of iterations: "+iterations; throw "invalid number of iterations: "+iterations;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment