summaryrefslogtreecommitdiffstats
path: root/src/tests/hist.c
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2012-07-18 16:27:35 -0500
committerGreg Hudson <ghudson@mit.edu>2012-07-30 19:11:28 -0400
commit5829ca2b348974e52a67b553afc7f7491007c33a (patch)
tree3fdbcdfc56a26445c2f2fce9fb72b6deddb28d0f /src/tests/hist.c
parent796366a03ea170efb937913acae36a2083a5329e (diff)
downloadkrb5-5829ca2b348974e52a67b553afc7f7491007c33a.tar.gz
krb5-5829ca2b348974e52a67b553afc7f7491007c33a.tar.xz
krb5-5829ca2b348974e52a67b553afc7f7491007c33a.zip
Policy extensions + new policy: allowed ks types
This simply adds KADM5_API_VERSION_4 and various fields to the policy structures: - attributes (policy-ish principal attributes) - max_life (max ticket life) - max_renewable_life (max ticket renewable life) - allowed_keysalts (allowed key/salt types) - TL data (future policy extensions) Of these only allowed_keysalts is currently implemented. Some refactoring of TL data handling is also done. ticket: 7223 (new)
Diffstat (limited to 'src/tests/hist.c')
-rw-r--r--src/tests/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/hist.c b/src/tests/hist.c
index c0b2b978c2..3d9e29e360 100644
--- a/src/tests/hist.c
+++ b/src/tests/hist.c
@@ -72,7 +72,7 @@ main(int argc, char **argv)
params.mask |= KADM5_CONFIG_REALM;
params.realm = realm;
check(kadm5_init(ctx, "user", "", "", &params, KADM5_STRUCT_VERSION,
- KADM5_API_VERSION_3, NULL, &handle));
+ KADM5_API_VERSION_4, NULL, &handle));
if (strcmp(argv[1], "make") == 0) {
memset(&kent, 0, sizeof(kent));
kent.principal = hprinc;