[tor-commits] [tor/master] hs: Fix two typos in an inline comment.

nickm at torproject.org nickm at torproject.org
Fri Mar 23 14:59:39 UTC 2018


commit fae525478370bb4834ac28fe06464a285b3d4a30
Author: Isis Lovecruft <isis at torproject.org>
Date:   Thu Mar 22 22:33:34 2018 +0000

    hs: Fix two typos in an inline comment.
    
     * FIXES #25602: https://bugs.torproject.org/25602
---
 src/or/hs_cell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/hs_cell.c b/src/or/hs_cell.c
index 5244cfa3d..ad92521d3 100644
--- a/src/or/hs_cell.c
+++ b/src/or/hs_cell.c
@@ -369,7 +369,7 @@ introduce1_encrypt_and_encode(trn_cell_introduce1_t *cell,
   crypto_cipher_free(cipher);
   offset += encoded_enc_cell_len;
   /* Compute MAC from the above and put it in the buffer. This function will
-   * make the adjustment to the encryptled_len to ommit the MAC length. */
+   * make the adjustment to the encrypted_len to omit the MAC length. */
   compute_introduce_mac(encoded_cell, encoded_cell_len,
                         encrypted, encrypted_len,
                         keys.mac_key, sizeof(keys.mac_key),



More information about the tor-commits mailing list