diff --git a/src/ssl.c b/src/ssl.c index 6089b93ca..bd6c131ba 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -3236,6 +3236,8 @@ const WOLFSSL_EVP_CIPHER *wolfSSL_EVP_get_cipherbyname(const char *name) { {"DES-CBC", "DES"}, {"DES-CBC", "des"}, + {"DES-ECB", "DES-ECB"}, + {"DES-ECB", "des-ecb"}, {"DES-EDE3-CBC", "DES3"}, {"DES-EDE3-CBC", "des3"}, {"DES-EDE3-ECB", "DES-EDE3"}, @@ -3243,12 +3245,18 @@ const WOLFSSL_EVP_CIPHER *wolfSSL_EVP_get_cipherbyname(const char *name) {"DES-EDE3-ECB", "des-ede3-ecb"}, {"IDEA-CBC", "IDEA"}, {"IDEA-CBC", "idea"}, - {"AES-128-CBC", "AES128"}, - {"AES-128-CBC", "aes128"}, - {"AES-192-CBC", "AES192"}, - {"AES-192-CBC", "aes192"}, - {"AES-256-CBC", "AES256"}, - {"AES-256-CBC", "aes256"}, + {"AES-128-CBC", "AES128-ECB"}, + {"AES-128-CBC", "aes128-ecb"}, + {"AES-192-CBC", "AES192-ECB"}, + {"AES-192-CBC", "aes192-ecb"}, + {"AES-256-CBC", "AES256-ECB"}, + {"AES-256-CBC", "aes256-ecb"}, + {"AES-128-ECB", "AES128-ECB"}, + {"AES-128-ECB", "aes128-ecb"}, + {"AES-192-ECB", "AES192-ECB"}, + {"AES-192-ECB", "aes192-ecb"}, + {"AES-256-ECB", "AES256-ECB"}, + {"AES-256-EBC", "aes256-ecb"}, {"ARC4", "RC4"}, { NULL, NULL} };