Skip to content
Snippets Groups Projects
Commit d5c0eb9d authored by Hubert Chathi's avatar Hubert Chathi
Browse files

update unit test to match function name change

parent 2f2a19f2
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ std::uint8_t seed[32] = {
//const std::uint8_t *pub_key = (std::uint8_t *) "hSDwCYkwp1R0i33ctD73Wg2/Og0mOBr066SpjqqbTmoK";
char pubkey[olm_pk_sign_public_key_length() + 1];
char pubkey[olm_pk_signing_public_key_length() + 1];
olm_pk_signing_key_from_seed(
signing,
......@@ -209,7 +209,7 @@ size_t result;
result = ::olm_ed25519_verify(
utility,
pubkey, olm_pk_sign_public_key_length(),
pubkey, olm_pk_signing_public_key_length(),
message, strlen(message),
sig_buffer, olm_pk_signature_length()
);
......@@ -220,7 +220,7 @@ sig_buffer[5] = 'm';
result = ::olm_ed25519_verify(
utility,
pubkey, olm_pk_sign_public_key_length(),
pubkey, olm_pk_signing_public_key_length(),
message, strlen(message),
sig_buffer, olm_pk_signature_length()
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment