tls_prepare: suppressed a warning on Mac

This commit is contained in:
Benoît LeBlanc 2014-05-28 21:33:30 -04:00
parent b6a8767b71
commit f57c694a3b

View File

@ -109,7 +109,11 @@ out_free:
}
#if defined(__APPLE__)
BOOL tls_prepare(rdpTls* tls, BIO *underlying, SSL_METHOD *method, int options, BOOL clientMode)
#else
BOOL tls_prepare(rdpTls* tls, BIO *underlying, const SSL_METHOD *method, int options, BOOL clientMode)
#endif
{
tls->ctx = SSL_CTX_new(method);
if (!tls->ctx)