]> git.saurik.com Git - apple/ipsec.git/blobdiff - ipsec-tools/racoon/crypto_cssm.h
ipsec-93.8.tar.gz
[apple/ipsec.git] / ipsec-tools / racoon / crypto_cssm.h
index 615277051d89f6f0dca83759b60fcc66d52fa8c9..d0562bf9564937c51928a60b4c692912c3213b73 100644 (file)
  */
 
 #include "vmbuf.h"
  */
 
 #include "vmbuf.h"
+#include <CoreFoundation/CoreFoundation.h>
 
 
 
 
-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_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__ */
 
 
 #endif /* __CRYPTO_CSSM_H__ */