ObjFW  Diff

Differences From Artifact [b0e8b99bd3]:

To Artifact [05236b5563]:


70
71
72
73
74
75
76

77


78
79
80
81
82
83
84
70
71
72
73
74
75
76
77

78
79
80
81
82
83
84
85
86







+
-
+
+







}

/*
 * Apple deprecated Secure Transport without providing a replacement that can
 * work with any socket. On top of that, their replacement, Network.framework,
 * doesn't support STARTTLS at all.
 */
#if OF_GCC_VERSION >= 402
#pragma GCC diagnostic ignored "-Wdeprecated"
# pragma GCC diagnostic ignored "-Wdeprecated"
#endif

@implementation OFSecureTransportTLSStream
+ (void)load
{
	if (OFTLSStreamImplementation == Nil)
		OFTLSStreamImplementation = self;
}