mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 22:32:06 +00:00
default to 1.2 min
This commit is contained in:
@@ -780,6 +780,8 @@ create_ssl_context_from_options(struct us_socket_context_options_t options) {
|
||||
else if (options.min_tls_version >= 1.1) min_version = TLS1_1_VERSION;
|
||||
else min_version = TLS1_VERSION;
|
||||
SSL_CTX_set_min_proto_version(ssl_context, min_version);
|
||||
} else {
|
||||
SSL_CTX_set_min_proto_version(ssl_context, TLS1_2_VERSION);
|
||||
}
|
||||
|
||||
if (options.max_tls_version > 0.0) {
|
||||
|
||||
Reference in New Issue
Block a user