Updated TLS/SSL implementation files with unix-like line endings
[mono.git] / mcs / class / Mono.Security / Mono.Security.Protocol.Tls / TlsSessionSettings.cs
index 7617eecbb1a205bf52a79ea0bb19a4f50b38513c..7614e99f2079aa8fbea7906042e87785aa28ff33 100644 (file)
@@ -66,7 +66,8 @@ namespace Mono.Security.Protocol.Tls
                        get { return protocol; }
                        set 
                        { 
-                               if (value != TlsProtocol.Tls1)
+                               if (value != TlsProtocol.Tls1 &&
+                                       value != TlsProtocol.Ssl3)
                                {
                                        throw new NotSupportedException("Specified protocol is not supported");
                                }