From: Steve Brokenshire Date: Mon, 11 Apr 2016 20:49:52 +0000 (+0100) Subject: Added OS X specific functions for CardDAV SSL verification. X-Git-Tag: release-0.12~18 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=5528afda21efc9c9e3c9baea4ebe4f1fc8819adb;p=xestiaab%2F.git Added OS X specific functions for CardDAV SSL verification. --- diff --git a/source/carddav/carddav-sslverify.mm b/source/carddav/carddav-sslverify.mm new file mode 100644 index 0000000..c41e092 --- /dev/null +++ b/source/carddav/carddav-sslverify.mm @@ -0,0 +1,29 @@ +// carddav-sslverify.mm - OS X specific functions for verifying the SSL connection. +// +// (c) 2012-2015 Xestia Software Development. +// +// This file is part of Xestia Address Book. +// +// Xestia Address Book is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by the +// Free Software Foundation, version 3 of the license. +// +// Xestia Address Book is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with Xestia Address Book. If not, see + +#import + +#include "carddav.h" + +SecTrustRef CardDAV::GetTrustObject(){ + + // Return the Security Trust Reference for the CardDAV object. + + return SecTrustObject; + +} \ No newline at end of file