From 9a89aaf10011564e19b67262e493f5ee94752851 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sat, 16 Jul 1994 10:06:16 +0000 Subject: [PATCH] * kpasswd.c (get_first_ticket): fix error codes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3994 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/kpasswd/ChangeLog | 4 ++++ src/kadmin/kpasswd/kpasswd.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 src/kadmin/kpasswd/ChangeLog diff --git a/src/kadmin/kpasswd/ChangeLog b/src/kadmin/kpasswd/ChangeLog new file mode 100644 index 000000000..ee277dd9b --- /dev/null +++ b/src/kadmin/kpasswd/ChangeLog @@ -0,0 +1,4 @@ +Sat Jul 16 02:51:25 1994 Tom Yu (tlyu at dragons-lair) + + * kpasswd.c (get_first_ticket): fix error codes + diff --git a/src/kadmin/kpasswd/kpasswd.c b/src/kadmin/kpasswd/kpasswd.c index 459b8cc81..04c578f3f 100644 --- a/src/kadmin/kpasswd/kpasswd.c +++ b/src/kadmin/kpasswd/kpasswd.c @@ -654,7 +654,7 @@ OLDDECLARG(krb5_principal, client) cache, &my_creds, 0); - if (retval != KRB5KDC_PREAUTH_FAILED && + if (retval != KRB5KDC_ERR_PREAUTH_FAILED && retval != KRB5KRB_ERR_GENERIC) break; } -- 2.26.2