From 80fe143874d2231ba784b6359c4137a770ae90f4 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Mon, 3 Jun 2013 22:03:20 -0700 Subject: [PATCH] remove deprected warnings until we can move to non deprecated api --- lib/hx509/ks_keychain.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/hx509/ks_keychain.c b/lib/hx509/ks_keychain.c index cc7c3642d..59986c690 100644 --- a/lib/hx509/ks_keychain.c +++ b/lib/hx509/ks_keychain.c @@ -35,6 +35,9 @@ #ifdef HAVE_FRAMEWORK_SECURITY +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + #include /* 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 */ /*