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

@ -24,7 +24,7 @@ describe("XX Fallback 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 ephemeralKeys = generateKeypair();