diff options
| author | Russ Allbery <eagle@eyrie.org> | 2016-01-17 19:43:13 -0800 | 
|---|---|---|
| committer | Russ Allbery <eagle@eyrie.org> | 2016-01-17 19:43:13 -0800 | 
| commit | cf5297c4ec8815ecc7f5139ef05b9867843db2f7 (patch) | |
| tree | fef6ba149883530c7e7fba771be6ac2e59c4dfe9 /tests/tap/kerberos.h | |
| parent | 7e03241ce323be7447b085a8e7b07b78c770b0dc (diff) | |
| parent | 4b3f858ef567c0d12511e7fea2a56f08f2729635 (diff) | |
Merge tag 'upstream/1.3' into debian/master
Upstream version 1.3
Diffstat (limited to 'tests/tap/kerberos.h')
| -rw-r--r-- | tests/tap/kerberos.h | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/tests/tap/kerberos.h b/tests/tap/kerberos.h index 8be0add..26f45f9 100644 --- a/tests/tap/kerberos.h +++ b/tests/tap/kerberos.h @@ -46,17 +46,21 @@ struct kerberos_config {      char *username;             /* The local (non-realm) part of principal. */      char *realm;                /* The realm part of the principal. */      char *password;             /* The password. */ +    char *pkinit_principal;     /* Principal for PKINIT authentication. */ +    char *pkinit_cert;          /* Path to certificates for PKINIT. */  };  /*   * Whether to skip all tests (by calling skip_all) in kerberos_setup if - * certain configuration information isn't available. + * certain configuration information isn't available.  "_BOTH" means that the + * tests require both keytab and password, but PKINIT is not required.   */  enum kerberos_needs {      TAP_KRB_NEEDS_NONE     = 0x00,      TAP_KRB_NEEDS_KEYTAB   = 0x01,      TAP_KRB_NEEDS_PASSWORD = 0x02, -    TAP_KRB_NEEDS_BOTH     = 0x01 | 0x02 +    TAP_KRB_NEEDS_BOTH     = 0x01 | 0x02, +    TAP_KRB_NEEDS_PKINIT   = 0x04  };  BEGIN_DECLS | 
