X-Git-Url: https://git.saurik.com/apple/ipsec.git/blobdiff_plain/52b7d2ce06d68d0a9160d16f6e7c08c21c149d0d..80318cb73f9fe1670dff6eb1801ec47bbf0ff285:/ipsec-tools/racoon/crypto_cssm.h diff --git a/ipsec-tools/racoon/crypto_cssm.h b/ipsec-tools/racoon/crypto_cssm.h index 6152770..d0562bf 100644 --- a/ipsec-tools/racoon/crypto_cssm.h +++ b/ipsec-tools/racoon/crypto_cssm.h @@ -30,11 +30,12 @@ */ #include "vmbuf.h" +#include -extern int crypto_cssm_check_x509cert(vchar_t *cert); +extern int crypto_cssm_check_x509cert(vchar_t *cert, CFStringRef hostname, cert_status_t certStatus); extern vchar_t* crypto_cssm_getsign(CFDataRef persistentCertRef, vchar_t* hash); -extern vchar_t* crypto_cssm_get_x509cert(CFDataRef persistentCertRef); +extern vchar_t* crypto_cssm_get_x509cert(CFDataRef persistentCertRef, cert_status_t *certStatus); #endif /* __CRYPTO_CSSM_H__ */