From 5528afda21efc9c9e3c9baea4ebe4f1fc8819adb Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 11 Apr 2016 21:49:52 +0100 Subject: [PATCH] Added OS X specific functions for CardDAV SSL verification. --- source/carddav/carddav-sslverify.mm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 source/carddav/carddav-sslverify.mm 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 -- 2.39.5