We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73c07e3 commit 7ae9917Copy full SHA for 7ae9917
src/MySqlConnector/Core/ConnectionSettings.cs
@@ -75,10 +75,8 @@ public ConnectionSettings(MySqlConnectionStringBuilder csb)
75
TlsVersions |= SslProtocols.Tls11;
76
else if (minorVersion == '2')
77
TlsVersions |= SslProtocols.Tls12;
78
+#if !NET45 && !NET461 && !NET471 && !NETSTANDARD1_3 && !NETSTANDARD2_0 && !NETSTANDARD2_1 && !NETCOREAPP2_1
79
else if (minorVersion == '3')
-#if NET45 || NET461 || NET471 || NETSTANDARD1_3 || NETSTANDARD2_0 || NETSTANDARD2_1 || NETCOREAPP2_1
80
- TlsVersions |= 0;
81
-#else
82
TlsVersions |= SslProtocols.Tls13;
83
#endif
84
else
0 commit comments