Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Updated to the latest way how to verify signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Mar 15, 2022
1 parent 6ae1426 commit 2178990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Omemo/Classes/Keys/Bundle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public PreKeyModel getRandomPreKey()
/// <returns>True in case the signature is valid.</returns>
public bool Verify()
{
return KeyHelper.VerifySignature(signedPreKey, identityKey.key, preKeySignature);
return KeyHelper.VerifySignature(signedPreKey, identityKey, preKeySignature);
}

#endregion
Expand Down

0 comments on commit 2178990

Please sign in to comment.