remove deprected warnings until we can move to non deprecated api
This commit is contained in:
@@ -35,6 +35,9 @@
|
||||
|
||||
#ifdef HAVE_FRAMEWORK_SECURITY
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
#include <Security/Security.h>
|
||||
|
||||
/* Missing function decls in pre Leopard */
|
||||
@@ -246,6 +249,7 @@ static const RSA_METHOD kc_rsa_pkcs1_method = {
|
||||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
@@ -590,9 +594,14 @@ struct hx509_keyset_ops keyset_keychain = {
|
||||
NULL,
|
||||
keychain_iter_start,
|
||||
keychain_iter,
|
||||
keychain_iter_end
|
||||
keychain_iter_end,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
#endif /* HAVE_FRAMEWORK_SECURITY */
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user