Set prologue to empty buffer

This commit is contained in:
Belma Gutlic
2020-01-29 19:48:14 +01:00
parent 13ba253edd
commit 3303cc3b4d
7 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ describe("IK Handshake", () => {
const connectionFrom = Wrap(duplex[0]);
const connectionTo = Wrap(duplex[1]);
const prologue = Buffer.from('/noise');
const prologue = Buffer.alloc(0);
const staticKeysInitiator = generateKeypair();
const staticKeysResponder = generateKeypair();
@ -60,7 +60,7 @@ describe("IK Handshake", () => {
const connectionFrom = Wrap(duplex[0]);
const connectionTo = Wrap(duplex[1]);
const prologue = Buffer.from('/noise');
const prologue = Buffer.alloc(0);
const staticKeysInitiator = generateKeypair();
const staticKeysResponder = generateKeypair();
const oldScammyKeys = generateKeypair();