summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-03-14 10:43:53 +0000
committerMatt Caswell <matt@openssl.org>2018-03-14 10:43:53 +0000
commitfa25763b5528b56b448d64bfbaeac54905b0c80d (patch)
tree8bc3b3578eb1883b81a46c00b160b71d6c937861 /ssl/ssl_lib.c
parent74826901379bf190a9c3b3ceaaca0493454e3536 (diff)
Put the default set of TLSv1.3 ciphersuites in a header file
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5392)
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index a4e7374969..d5c5918d16 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -3019,10 +3019,7 @@ SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth)
goto err;
#endif
- if (!SSL_CTX_set_ciphersuites(ret,
- "TLS_AES_256_GCM_SHA384:"
- "TLS_CHACHA20_POLY1305_SHA256:"
- "TLS_AES_128_GCM_SHA256"))
+ if (!SSL_CTX_set_ciphersuites(ret, TLS_DEFAULT_CIPHERSUITES))
goto err;
if (!ssl_create_cipher_list(ret->method,