We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c55b86 commit 256ea55Copy full SHA for 256ea55
mcs/class/Mono.Security/Mono.Security.Protocol.Tls/HttpsClientStream.cs
@@ -40,11 +40,8 @@
40
namespace Mono.Security.Protocol.Tls {
41
42
// Note: DO NOT REUSE this class - instead use SslClientStream
43
-#if !SECURITY_DEP
44
- public class HttpsClientStream : SslClientStream {
45
-#else
+
46
internal class HttpsClientStream : SslClientStream {
47
-#endif
48
49
private HttpWebRequest _request;
50
private int _status;
mcs/class/System/System.Net/WebConnection.cs
@@ -279,7 +279,7 @@ static void EnsureSSLStreamAvailable ()
279
if (sslStream != null)
280
return;
281
282
-#if MONOTOUCH && SECURITY_DEP
+#if MONOTOUCH && SECURITY_DEP && !UNITY
283
sslStream = typeof (Mono.Security.Protocol.Tls.HttpsClientStream);
284
#else
285
// HttpsClientStream is an internal glue class in Mono.Security.dll
0 commit comments