RC4 is not a block cipher
authorMatt Caswell <matt@openssl.org>
Sat, 5 Oct 2019 01:42:32 +0000 (11:42 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Sat, 5 Oct 2019 01:42:32 +0000 (11:42 +1000)
commit74997e7eedd094b40183f0643c5744e77fbd393f
tree8c988f945a4aa255d219646a8865da8c6d8cc20e
parent86913ef711751eaedc3b3676dd496d33a4fcd21d
RC4 is not a block cipher

RC4 is a stream cipher therefore EVP_CIPHER_CTX_block_size() should
return 1.

This fixes a test failure in ssl_test_old when enable-weak-ssl-ciphers
has been configured.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10090)
providers/default/ciphers/cipher_rc4.c