mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
Use SSL_OP_CIPHER_SERVER_PREFERENCE by default.
This commit is contained in:
parent
bbfbfc4c61
commit
ff613f4665
@ -83,9 +83,12 @@ kore_domain_sslstart(struct kore_domain *dom)
|
||||
SSL_CTX_set_options(dom->ssl_ctx, SSL_OP_NO_COMPRESSION);
|
||||
|
||||
SSL_CTX_set_mode(dom->ssl_ctx, SSL_MODE_RELEASE_BUFFERS);
|
||||
SSL_CTX_set_cipher_list(dom->ssl_ctx, kore_ssl_cipher_list);
|
||||
SSL_CTX_set_mode(dom->ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE);
|
||||
|
||||
SSL_CTX_set_options(dom->ssl_ctx, SSL_OP_NO_SSLv2);
|
||||
SSL_CTX_set_options(dom->ssl_ctx, SSL_OP_CIPHER_SERVER_PREFERENCE);
|
||||
SSL_CTX_set_cipher_list(dom->ssl_ctx, kore_ssl_cipher_list);
|
||||
|
||||
SSL_CTX_set_tlsext_servername_callback(dom->ssl_ctx, kore_ssl_sni_cb);
|
||||
SSL_CTX_set_next_protos_advertised_cb(dom->ssl_ctx,
|
||||
kore_ssl_npn_cb, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user