nss: allow to specify TLS 1.3 ciphers if supported by NSS

Closes #3916
This commit is contained in:
Hubert Kario 2019-05-17 17:15:24 +00:00 committed by Kamil Dudka
parent b3173cfa2b
commit 319ae9075e
2 changed files with 11 additions and 0 deletions

View file

@ -216,6 +216,11 @@ static const cipher_s cipherlist[] = {
{"dhe_rsa_chacha20_poly1305_sha_256",
TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256},
#endif
#ifdef TLS_AES_256_GCM_SHA384
{"aes_128_gcm_sha_256", TLS_AES_128_GCM_SHA256},
{"aes_256_gcm_sha_384", TLS_AES_256_GCM_SHA384},
{"chacha20_poly1305_sha_256", TLS_CHACHA20_POLY1305_SHA256},
#endif
};
#ifdef WIN32