Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Olm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
Olm
Commits
d5c0eb9d
Commit
d5c0eb9d
authored
6 years ago
by
Hubert Chathi
Browse files
Options
Downloads
Patches
Plain Diff
update unit test to match function name change
parent
2f2a19f2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_pk.cpp
+3
-3
3 additions, 3 deletions
tests/test_pk.cpp
with
3 additions
and
3 deletions
tests/test_pk.cpp
+
3
−
3
View file @
d5c0eb9d
...
...
@@ -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_sign
ing
_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_sign
ing
_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_sign
ing
_public_key_length
(),
message
,
strlen
(
message
),
sig_buffer
,
olm_pk_signature_length
()
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment