Include pkinit and include add krb5_pk_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22910 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -154,7 +154,7 @@ struct _krb5_krb_auth_data;
|
||||
#include <krb5_err.h>
|
||||
#include <asn1_err.h>
|
||||
#ifdef PKINIT
|
||||
#include <hx509_err.h>
|
||||
#include <hx509.h>
|
||||
#endif
|
||||
#include <krb5-private.h>
|
||||
|
||||
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user