mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
nss: add cipher suites using SHA384 if supported by NSS
This commit is contained in:
parent
7591220270
commit
049aa92546
@ -179,6 +179,16 @@ static const cipher_s cipherlist[] = {
|
||||
{"ecdhe_rsa_aes_128_gcm_sha_256", TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256},
|
||||
{"ecdh_rsa_aes_128_gcm_sha_256", TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256},
|
||||
#endif
|
||||
#ifdef TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
|
||||
/* cipher suites using SHA384 */
|
||||
{"rsa_aes_256_gcm_sha_384", TLS_RSA_WITH_AES_256_GCM_SHA384},
|
||||
{"dhe_rsa_aes_256_gcm_sha_384", TLS_DHE_RSA_WITH_AES_256_GCM_SHA384},
|
||||
{"dhe_dss_aes_256_gcm_sha_384", TLS_DHE_DSS_WITH_AES_256_GCM_SHA384},
|
||||
{"ecdhe_ecdsa_aes_256_sha_384", TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384},
|
||||
{"ecdhe_rsa_aes_256_sha_384", TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384},
|
||||
{"ecdhe_ecdsa_aes_256_gcm_sha_384", TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384},
|
||||
{"ecdhe_rsa_aes_256_gcm_sha_384", TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384},
|
||||
#endif
|
||||
};
|
||||
|
||||
static const char* pem_library = "libnsspem.so";
|
||||
|
Loading…
Reference in New Issue
Block a user