X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fconnobject%2FConnectionObject.h;h=3ad9d194023535b447b7ccec485527f3b72b840b;hb=74f3b0f9b31a7573c18a003bf008b0cc2819f424;hp=d2ccf5c5231ec6e1f30e1ded4841c9d0754174e4;hpb=547ab1fe605cdb4884179ab011dabba4d0bd7bc2;p=xestiaab%2F.git diff --git a/source/connobject/ConnectionObject.h b/source/connobject/ConnectionObject.h index d2ccf5c..3ad9d19 100644 --- a/source/connobject/ConnectionObject.h +++ b/source/connobject/ConnectionObject.h @@ -24,6 +24,11 @@ #include #include "../common/sslcertstructs.h" +#if defined (__APPLE__) +#import +#import +#endif + #if defined (__WIN32__) #include #include @@ -121,6 +126,9 @@ class ConnectionObject{ // OS specific functions. #if defined(__APPLE__) + + virtual SecTrustRef BuildSSLCollection() { return nullptr; }; + #elif defined(__WIN32__) virtual PCCERT_CONTEXT BuildSSLCollection() { return nullptr; }; @@ -160,4 +168,4 @@ class ConnectionObject{ }; -#endif \ No newline at end of file +#endif