зеркало из https://github.com/mozilla/gecko-dev.git
Bug 947584: Use official IANA names for cipher suites in PSM, r=cviecco
--HG-- extra : rebase_source : fafec912dc96480cb4f00bddec00d40e5e9db088
This commit is contained in:
Родитель
6a9ed9a302
Коммит
5510ec64f8
|
@ -101,6 +101,7 @@ LOCAL_INCLUDES += [
|
|||
if CONFIG['NSS_DISABLE_DBM']:
|
||||
DEFINES['NSS_DISABLE_DBM'] = '1'
|
||||
|
||||
DEFINES['SSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES'] = 'True'
|
||||
DEFINES['NSS_ENABLE_ECC'] = 'True'
|
||||
for var in ('DLL_PREFIX', 'DLL_SUFFIX'):
|
||||
DEFINES[var] = '"%s"' % CONFIG[var]
|
||||
|
|
|
@ -1096,12 +1096,12 @@ AccumulateCipherSuite(Telemetry::ID probe, const SSLChannelInfo& channelInfo)
|
|||
case TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: value = 22; break;
|
||||
case TLS_DHE_RSA_WITH_AES_256_CBC_SHA: value = 23; break;
|
||||
case TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: value = 24; break;
|
||||
case SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA: value = 25; break;
|
||||
case TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: value = 25; break;
|
||||
case TLS_DHE_DSS_WITH_AES_128_CBC_SHA: value = 26; break;
|
||||
case TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: value = 27; break;
|
||||
case TLS_DHE_DSS_WITH_AES_256_CBC_SHA: value = 28; break;
|
||||
case TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: value = 29; break;
|
||||
case SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA: value = 30; break;
|
||||
case TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: value = 30; break;
|
||||
// ECDH key exchange
|
||||
case TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: value = 41; break;
|
||||
case TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: value = 42; break;
|
||||
|
@ -1117,10 +1117,10 @@ AccumulateCipherSuite(Telemetry::ID probe, const SSLChannelInfo& channelInfo)
|
|||
case TLS_RSA_WITH_AES_256_CBC_SHA: value = 63; break;
|
||||
case TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: value = 64; break;
|
||||
case SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA: value = 65; break;
|
||||
case SSL_RSA_WITH_3DES_EDE_CBC_SHA: value = 66; break;
|
||||
case TLS_RSA_WITH_3DES_EDE_CBC_SHA: value = 66; break;
|
||||
case TLS_RSA_WITH_SEED_CBC_SHA: value = 67; break;
|
||||
case SSL_RSA_WITH_RC4_128_SHA: value = 68; break;
|
||||
case SSL_RSA_WITH_RC4_128_MD5: value = 69; break;
|
||||
case TLS_RSA_WITH_RC4_128_SHA: value = 68; break;
|
||||
case TLS_RSA_WITH_RC4_128_MD5: value = 69; break;
|
||||
// unknown
|
||||
default:
|
||||
value = 0;
|
||||
|
|
|
@ -809,7 +809,7 @@ static const CipherPref sCipherPrefs[] = {
|
|||
TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA, true },
|
||||
|
||||
{ "security.ssl3.dhe_rsa_des_ede3_sha",
|
||||
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, true }, // deprecated (3DES)
|
||||
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, true }, // deprecated (3DES)
|
||||
|
||||
{ "security.ssl3.dhe_dss_aes_128_sha",
|
||||
TLS_DHE_DSS_WITH_AES_128_CBC_SHA, true }, // deprecated (DSS)
|
||||
|
@ -830,12 +830,12 @@ static const CipherPref sCipherPrefs[] = {
|
|||
{ "security.ssl3.rsa_camellia_256_sha",
|
||||
TLS_RSA_WITH_CAMELLIA_256_CBC_SHA, true }, // deprecated (RSA key exchange)
|
||||
{ "security.ssl3.rsa_des_ede3_sha",
|
||||
SSL_RSA_WITH_3DES_EDE_CBC_SHA, true }, // deprecated (RSA key exchange, 3DES)
|
||||
TLS_RSA_WITH_3DES_EDE_CBC_SHA, true }, // deprecated (RSA key exchange, 3DES)
|
||||
|
||||
{ "security.ssl3.rsa_rc4_128_sha",
|
||||
SSL_RSA_WITH_RC4_128_SHA, true }, // deprecated (RSA key exchange, RC4)
|
||||
TLS_RSA_WITH_RC4_128_SHA, true }, // deprecated (RSA key exchange, RC4)
|
||||
{ "security.ssl3.rsa_rc4_128_md5",
|
||||
SSL_RSA_WITH_RC4_128_MD5, true }, // deprecated (RSA key exchange, RC4, HMAC-MD5)
|
||||
TLS_RSA_WITH_RC4_128_MD5, true }, // deprecated (RSA key exchange, RC4, HMAC-MD5)
|
||||
|
||||
// All the rest are disabled by default
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче