RC4密码套件漏洞 (#3590)

禁止使用RC4
This commit is contained in:
Luke 2024-06-09 10:45:40 +08:00 committed by GitHub
parent 6df0e2ee8b
commit fbac3f9ba0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -383,7 +383,7 @@ namespace RTC
}); });
// Set ciphers. // Set ciphers.
ret = SSL_CTX_set_cipher_list( ret = SSL_CTX_set_cipher_list(
sslCtx, "DEFAULT:!NULL:!aNULL:!SHA256:!SHA384:!aECDH:!AESGCM+AES256:!aPSK"); sslCtx, "DEFAULT:!NULL:!aNULL:!SHA256:!SHA384:!aECDH:!AESGCM+AES256:!aPSK:!RC4");
if (ret == 0) if (ret == 0)
{ {