Skip to content

Commit 8062c4c

Browse files
loganadencommit-bot@chromium.org
authored andcommitted
Switch to TLS 1.2 as minimum requirement
According to https://tools.ietf.org/id/draft-ietf-tls-oldversions-deprecate-06.txt TEST=Not applicable, config change. Closes #41135 #41135 GitOrigin-RevId: e1dc037 Change-Id: Ic8340eee7fa26846302727672ca7989ce1e93c99 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/140481 Commit-Queue: Michael Thomsen <[email protected]> Reviewed-by: Siva Annamalai <[email protected]>
1 parent 7abf6bf commit 8062c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/bin/security_context.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ void FUNCTION_NAME(SecurityContext_Allocate)(Dart_NativeArguments args) {
807807
SSLFilter::InitializeLibrary();
808808
SSL_CTX* ctx = SSL_CTX_new(TLS_method());
809809
SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER, SSLCertContext::CertificateCallback);
810-
SSL_CTX_set_min_proto_version(ctx, TLS1_VERSION);
810+
SSL_CTX_set_min_proto_version(ctx, TLS1_2_VERSION);
811811
SSL_CTX_set_cipher_list(ctx, "HIGH:MEDIUM");
812812
SSLCertContext* context = new SSLCertContext(ctx);
813813
Dart_Handle err = SetSecurityContext(args, context);

0 commit comments

Comments
 (0)