From a5301b2daa8f704a80c1ab1c6134f58ed2be3e0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 8 Apr 2008 08:16:40 +0000 Subject: [PATCH] Include pkinit and include add krb5_pk_identity. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22910 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_locl.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/lib/krb5/krb5_locl.h b/lib/krb5/krb5_locl.h index 722fd441c..72aedc3b7 100644 --- a/lib/krb5/krb5_locl.h +++ b/lib/krb5/krb5_locl.h @@ -154,7 +154,7 @@ struct _krb5_krb_auth_data; #include #include #ifdef PKINIT -#include +#include #endif #include @@ -265,4 +265,22 @@ typedef struct krb5_context_data { #define KRB5_ADDRESSLESS_DEFAULT TRUE #endif +#ifdef PKINIT + +struct krb5_pk_identity { + hx509_context hx509ctx; + hx509_verify_ctx verify_ctx; + hx509_certs certs; + hx509_certs anchors; + hx509_certs certpool; + hx509_revoke_ctx revokectx; +}; + +enum { + PKINIT_WIN2K = 1, + PKINIT_27 = 2 +}; + +#endif /* PKINIT */ + #endif /* __KRB5_LOCL_H__ */