#define _CSSMKRSPI_H_ 1
#include <Security/cssmtype.h>
+#include <Security/cssmkrapi.h> /* CSSM_KRSP_HANDLE */
#ifdef __cplusplus
extern "C" {
#endif
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
/* Data types for Key Recovery SPI */
-typedef struct cssm_spi_kr_funcs {
+typedef struct DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER cssm_spi_kr_funcs {
CSSM_RETURN (CSSMKRI *RegistrationRequest)
(CSSM_KRSP_HANDLE KRSPHandle,
CSSM_CC_HANDLE KRRegistrationContextHandle,
void **OutputParams);
} CSSM_SPI_KR_FUNCS DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER, *CSSM_SPI_KR_FUNCS_PTR DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
+#pragma clang diagnostic pop
+
#ifdef __cplusplus
}
#endif