diff options
author | Damien Miller <djm@mindrot.org> | 2018-04-10 10:19:02 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-04-10 10:19:02 +1000 |
commit | 10479cc2a4acd6faaf643eb305233b49d70c31c1 (patch) | |
tree | 3ff183d0d7a71a2843e1cb13f682743761555053 /packet.c | |
parent | 907da2f88519b34189fd03fac96de0c52d448233 (diff) |
Many typo fixes from Karsten Weiss
Spotted using https://github.com/lucasdemarchi/codespell
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -597,7 +597,7 @@ ssh_packet_close_internal(struct ssh *ssh, int do_close) | |||
597 | state->newkeys[mode] = NULL; | 597 | state->newkeys[mode] = NULL; |
598 | ssh_clear_newkeys(ssh, mode); /* next keys */ | 598 | ssh_clear_newkeys(ssh, mode); /* next keys */ |
599 | } | 599 | } |
600 | /* comression state is in shared mem, so we can only release it once */ | 600 | /* compression state is in shared mem, so we can only release it once */ |
601 | if (do_close && state->compression_buffer) { | 601 | if (do_close && state->compression_buffer) { |
602 | sshbuf_free(state->compression_buffer); | 602 | sshbuf_free(state->compression_buffer); |
603 | if (state->compression_out_started) { | 603 | if (state->compression_out_started) { |
@@ -965,7 +965,7 @@ ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len) | |||
965 | state->p_read.packets > MAX_PACKETS) | 965 | state->p_read.packets > MAX_PACKETS) |
966 | return 1; | 966 | return 1; |
967 | 967 | ||
968 | /* Rekey after (cipher-specific) maxiumum blocks */ | 968 | /* Rekey after (cipher-specific) maximum blocks */ |
969 | out_blocks = ROUNDUP(outbound_packet_len, | 969 | out_blocks = ROUNDUP(outbound_packet_len, |
970 | state->newkeys[MODE_OUT]->enc.block_size); | 970 | state->newkeys[MODE_OUT]->enc.block_size); |
971 | return (state->max_blocks_out && | 971 | return (state->max_blocks_out && |