ObjFW  Diff

Differences From Artifact [b0e8b99bd3]:

To Artifact [05236b5563]:


70
71
72
73
74
75
76

77

78
79
80
81
82
83
84
}

/*
 * 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.
 */

#pragma GCC diagnostic ignored "-Wdeprecated"


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







>
|
>







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"
#endif

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