spell ephemeral correctly...

This commit is contained in:
Matthew Hodgson 2021-03-18 01:29:23 +00:00
parent bcb89bcc24
commit 09384b4d45
2 changed files with 2 additions and 2 deletions

View file

@ -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 empheral key when we next send a message. */
* with a new ephemeral key when we next send a message. */
List<SenderChain, 1> sender_chain;
/** The receiver chain is used to decrypt received messages. We store the

View file

@ -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 empheral ratchet key.
* We can discard our previous ephemeral ratchet key.
* We will generate a new key when we send the next message. */
chain = receiver_chains.insert();