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
09384b4d
Commit
09384b4d
authored
4 years ago
by
Matthew Hodgson
Browse files
Options
Downloads
Patches
Plain Diff
spell ephemeral correctly...
parent
bcb89bcc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/olm/ratchet.hh
+1
-1
1 addition, 1 deletion
include/olm/ratchet.hh
src/ratchet.cpp
+1
-1
1 addition, 1 deletion
src/ratchet.cpp
with
2 additions
and
2 deletions
include/olm/ratchet.hh
+
1
−
1
View file @
09384b4d
...
...
@@ -94,7 +94,7 @@ struct Ratchet {
/** The sender chain is used to send messages. Each time a new ephemeral
* key is received from the remote server we generate a new sender chain
* with a new e
m
pheral key when we next send a message. */
* with a new ephe
me
ral key when we next send a message. */
List
<
SenderChain
,
1
>
sender_chain
;
/** The receiver chain is used to decrypt received messages. We store the
...
...
This diff is collapsed.
Click to expand it.
src/ratchet.cpp
+
1
−
1
View file @
09384b4d
...
...
@@ -595,7 +595,7 @@ std::size_t olm::Ratchet::decrypt(
if
(
!
chain
)
{
/* They have started using a new ephemeral ratchet key.
* We need to derive a new set of chain keys.
* We can discard our previous e
m
pheral ratchet key.
* We can discard our previous ephe
me
ral ratchet key.
* We will generate a new key when we send the next message. */
chain
=
receiver_chains
.
insert
();
...
...
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