Skip to content

Commit 3301d03

Browse files
Rocketctsandeepmistry
authored andcommitted
Removed DHE SSL ciphers to fix issue #270
1 parent abf452c commit 3301d03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WiFi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ int WiFiClass::init()
314314

315315
if (nmdrv_firm_ver >= M2M_MAKE_VERSION(19, 5, 0)) {
316316
// enable AES-128 and AES-256 Ciphers, if firmware is 19.5.0 or higher
317-
m2m_ssl_set_active_ciphersuites(SSL_NON_ECC_CIPHERS_AES_128 | SSL_NON_ECC_CIPHERS_AES_256);
317+
m2m_ssl_set_active_ciphersuites(SSL_CIPHER_RSA_WITH_AES_128_CBC_SHA | SSL_CIPHER_RSA_WITH_AES_128_CBC_SHA256 | SSL_CIPHER_RSA_WITH_AES_128_GCM_SHA256 | SSL_CIPHER_RSA_WITH_AES_256_CBC_SHA | SSL_CIPHER_RSA_WITH_AES_256_CBC_SHA256);
318318
}
319319

320320
#ifdef CONF_PERIPH

0 commit comments

Comments
 (0)