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 */ /*