Skip to content

Commit

Permalink
Fix SRP params.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstegeman committed Apr 22, 2020
1 parent a4eb9c6 commit 50201d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/protocol/pairing-protocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class PairingProtocol {
buildPairSetupM3(m2Tlv, pin) {
return SRP.genKey(32).then((key) => {
this.srpClient = new SrpClient(
SRP.params['3072'],
SRP.params.hap,
m2Tlv.get(Types.kTLVType_Salt),
Buffer.from('Pair-Setup'),
Buffer.from(pin),
Expand Down

0 comments on commit 50201d2

Please sign in to comment.