Skip to content

Commit

Permalink
Adding incomplete check for checkM2
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Apr 26, 2020
1 parent a9ec47c commit f8c92cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/test_hap_vectors.ts
Expand Up @@ -97,6 +97,7 @@ function checkVectors(params: SrpParams, inputs: Input, expected: ExpectedOutput
assert.throws(() => client.computeK(), /incomplete protocol/);
assert.throws(() => server.checkM1(expected.M1), /incomplete protocol/);
assert.throws(() => server.computeK(), /incomplete protocol/);
assert.throws(() => server.computeM2(), /incomplete protocol/);

client.setB(expected.B);

Expand Down

0 comments on commit f8c92cb

Please sign in to comment.