remove deprected warnings until we can move to non deprecated api

This commit is contained in:
Love Hornquist Astrand
2013-06-03 22:03:20 -07:00
parent ebe9b82b8d
commit 80fe143874

View File

@@ -35,6 +35,9 @@
#ifdef HAVE_FRAMEWORK_SECURITY #ifdef HAVE_FRAMEWORK_SECURITY
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#include <Security/Security.h> #include <Security/Security.h>
/* Missing function decls in pre Leopard */ /* Missing function decls in pre Leopard */
@@ -246,6 +249,7 @@ static const RSA_METHOD kc_rsa_pkcs1_method = {
0, 0,
NULL, NULL,
NULL, NULL,
NULL,
NULL NULL
}; };
@@ -590,9 +594,14 @@ struct hx509_keyset_ops keyset_keychain = {
NULL, NULL,
keychain_iter_start, keychain_iter_start,
keychain_iter, keychain_iter,
keychain_iter_end keychain_iter_end,
NULL,
NULL,
NULL
}; };
#pragma clang diagnostic pop
#endif /* HAVE_FRAMEWORK_SECURITY */ #endif /* HAVE_FRAMEWORK_SECURITY */
/* /*