spell ephemeral correctly...
This commit is contained in:
parent
bcb89bcc24
commit
09384b4d45
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ struct Ratchet {
|
||||||
|
|
||||||
/** The sender chain is used to send messages. Each time a new ephemeral
|
/** 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
|
* key is received from the remote server we generate a new sender chain
|
||||||
* with a new empheral key when we next send a message. */
|
* with a new ephemeral key when we next send a message. */
|
||||||
List<SenderChain, 1> sender_chain;
|
List<SenderChain, 1> sender_chain;
|
||||||
|
|
||||||
/** The receiver chain is used to decrypt received messages. We store the
|
/** The receiver chain is used to decrypt received messages. We store the
|
||||||
|
|
|
@ -595,7 +595,7 @@ std::size_t olm::Ratchet::decrypt(
|
||||||
if (!chain) {
|
if (!chain) {
|
||||||
/* They have started using a new ephemeral ratchet key.
|
/* They have started using a new ephemeral ratchet key.
|
||||||
* We need to derive a new set of chain keys.
|
* We need to derive a new set of chain keys.
|
||||||
* We can discard our previous empheral ratchet key.
|
* We can discard our previous ephemeral ratchet key.
|
||||||
* We will generate a new key when we send the next message. */
|
* We will generate a new key when we send the next message. */
|
||||||
|
|
||||||
chain = receiver_chains.insert();
|
chain = receiver_chains.insert();
|
||||||
|
|
Loading…
Reference in a new issue