From a1c6915bb13fc512adf4b397acbb41dfecd387dd Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 7 Jul 1999 10:24:08 +0000 Subject: [PATCH] (store_principal_ent): encoding princ_expire_time and pw_expiration in correct order git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6438 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/kadm5/marshall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/kadm5/marshall.c b/lib/kadm5/marshall.c index 610d5681c..2249f8193 100644 --- a/lib/kadm5/marshall.c +++ b/lib/kadm5/marshall.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997 Kungliga Tekniska Högskolan + * Copyright (c) 1997 - 1999 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -118,10 +118,10 @@ store_principal_ent(krb5_storage *sp, krb5_store_principal(sp, princ->principal); if (mask & KADM5_PRINC_EXPIRE_TIME) krb5_store_int32(sp, princ->princ_expire_time); - if (mask & KADM5_LAST_PWD_CHANGE) - krb5_store_int32(sp, princ->last_pwd_change); if (mask & KADM5_PW_EXPIRATION) krb5_store_int32(sp, princ->pw_expiration); + if (mask & KADM5_LAST_PWD_CHANGE) + krb5_store_int32(sp, princ->last_pwd_change); if (mask & KADM5_MAX_LIFE) krb5_store_int32(sp, princ->max_life); if (mask & KADM5_MOD_NAME) {