diff --git a/lib/modules/SSL.pmod/session.pike b/lib/modules/SSL.pmod/session.pike index 21bf17d0f552dce6007cfb7349e812d987b47c22..3612aba7541953a130fe7cb3d73a36bb7cfbc90f 100644 --- a/lib/modules/SSL.pmod/session.pike +++ b/lib/modules/SSL.pmod/session.pike @@ -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);