summaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_devcrypto.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-09-20 15:33:21 +0200
committerRichard Levitte <levitte@openssl.org>2018-09-20 22:01:55 +0200
commitf52f2c1ae8f2ec378c5a20fb4104aa38edbabfcb (patch)
tree86c8229b092878f64fadecf5f72e2c507f7853b3 /crypto/engine/eng_devcrypto.c
parentAdd some missing ciphers in 'enc' document (diff)
downloadopenssl-f52f2c1ae8f2ec378c5a20fb4104aa38edbabfcb.tar.xz
openssl-f52f2c1ae8f2ec378c5a20fb4104aa38edbabfcb.zip
/dev/crypto engine: add missing RC4 parameter
Fixes #7280 Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/7281)
Diffstat (limited to 'crypto/engine/eng_devcrypto.c')
-rw-r--r--crypto/engine/eng_devcrypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/eng_devcrypto.c b/crypto/engine/eng_devcrypto.c
index 9deaf5c618..6d97e99812 100644
--- a/crypto/engine/eng_devcrypto.c
+++ b/crypto/engine/eng_devcrypto.c
@@ -69,7 +69,7 @@ static const struct cipher_data_st {
{ NID_aes_192_cbc, 16, 192 / 8, 16, EVP_CIPH_CBC_MODE, CRYPTO_AES_CBC },
{ NID_aes_256_cbc, 16, 256 / 8, 16, EVP_CIPH_CBC_MODE, CRYPTO_AES_CBC },
#ifndef OPENSSL_NO_RC4
- { NID_rc4, 1, 16, 0, CRYPTO_ARC4 },
+ { NID_rc4, 1, 16, 0, EVP_CIPH_STREAM_CIPHER, CRYPTO_ARC4 },
#endif
#if !defined(CHECK_BSD_STYLE_MACROS) || defined(CRYPTO_AES_CTR)
{ NID_aes_128_ctr, 16, 128 / 8, 16, EVP_CIPH_CTR_MODE, CRYPTO_AES_CTR },