This commit is contained in:
Marin Petrunić 2020-03-01 19:06:28 +01:00
parent 638b0773e5
commit 22c6787250
No known key found for this signature in database
GPG Key ID: 834D07135E110DA5

View File

@ -99,7 +99,7 @@ export class IKHandshake implements IHandshake {
}
}
public decrypt(ciphertext: bytes, session: NoiseSession): {plaintext: bytes, valid: boolean} {
public decrypt(ciphertext: bytes, session: NoiseSession): {plaintext: bytes; valid: boolean} {
const cs = this.getCS(session, false);
return this.ik.decryptWithAd(cs, Buffer.alloc(0), ciphertext);
}