Skip to content
Snippets Groups Projects
Commit 32fa7f90 authored by Niels Möller's avatar Niels Möller
Browse files

Fixed typo

Rev: lib/modules/SSL.pmod/session.pike:1.6
parent a796c712
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ array new_server_states(string client_random, string server_random)
read_state->crypt->set_iv(keys[4]);
write_state->crypt->set_iv(keys[5]);
}
if (cipher_spec->cipher_type == CIPHER_BLOCK)
if (cipher_spec->cipher_type == CIPHER_block)
{ /* Crypto.crypto takes care of splitting input into blocks */
read_state->crypt = Crypto.crypto(read_state->crypt);
write_state->crypt = Crypto.crypto(write_state->crypt);
......@@ -158,7 +158,7 @@ array new_client_states(string client_random, string server_random)
read_state->crypt->set_iv(keys[5]);
write_state->crypt->set_iv(keys[4]);
}
if (cipher_spec->cipher_type == CIPHER_BLOCK)
if (cipher_spec->cipher_type == CIPHER_block)
{ /* Crypto.crypto takes care of splitting input into blocks */
read_state->crypt = Crypto.crypto(read_state->crypt);
write_state->crypt = Crypto.crypto(write_state->crypt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment