diff options
author | Tuncer Ayaz <[email protected]> | 2011-11-07 20:43:53 +0100 |
---|---|---|
committer | Tuncer Ayaz <[email protected]> | 2011-12-05 17:29:10 +0100 |
commit | bcb385e34e9ea86e32bb1b26a8c2f5792549c142 (patch) | |
tree | 820568c207c13cba173fea86bd6048fec4ffef57 /lib/ssl | |
parent | 42a68213d69759574db0a0a0c73745bd420fd220 (diff) | |
download | otp-bcb385e34e9ea86e32bb1b26a8c2f5792549c142.tar.gz otp-bcb385e34e9ea86e32bb1b26a8c2f5792549c142.tar.bz2 otp-bcb385e34e9ea86e32bb1b26a8c2f5792549c142.zip |
Fix typos in ssl_cipher.erl
Diffstat (limited to 'lib/ssl')
-rw-r--r-- | lib/ssl/src/ssl_cipher.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl index 95a5efd6d0..015265441e 100644 --- a/lib/ssl/src/ssl_cipher.erl +++ b/lib/ssl/src/ssl_cipher.erl @@ -166,7 +166,7 @@ block_decipher(Fun, #cipher_state{key=Key, iv=IV} = CipherState0, false -> %% decryption failed or invalid padding, %% intentionally break Content to make - %% sure a packet with a an invalid padding + %% sure a packet with invalid padding %% but otherwise correct data will fail %% the MAC test later {<<16#F0, Content/binary>>, Mac, CipherState1} @@ -523,7 +523,7 @@ hash_size(sha) -> %% %% implementation note: %% We return the original (possibly invalid) PadLength in any case. -%% A invalid PadLength will be cought by is_correct_padding/2 +%% An invalid PadLength will be caught by is_correct_padding/2 %% generic_block_cipher_from_bin(T, HashSize) -> Sz1 = byte_size(T) - 1, |