diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-03-28 13:38:08 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-03-28 13:38:08 -0400 |
commit | d5c0eb9d20a17ec596784f53f3c9ffab0e9ad772 (patch) | |
tree | 6844a37f2a568f279ba5793235d8eaa4d9a3edbb /tests/test_pk.cpp | |
parent | 2f2a19f2e7f3522cdb80031f980f8b4c1356b2f1 (diff) |
update unit test to match function name change
Diffstat (limited to 'tests/test_pk.cpp')
-rw-r--r-- | tests/test_pk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_pk.cpp b/tests/test_pk.cpp index 874710b..66e3f89 100644 --- a/tests/test_pk.cpp +++ b/tests/test_pk.cpp @@ -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() ); |