From becd622926d7b0cbcba209d6efad407723391a2f Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sat, 16 Jul 1994 10:04:28 +0000 Subject: [PATCH] * kinit.c: frob error codes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3991 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kinit/ChangeLog | 4 ++++ src/clients/kinit/kinit.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 src/clients/kinit/ChangeLog diff --git a/src/clients/kinit/ChangeLog b/src/clients/kinit/ChangeLog new file mode 100644 index 000000000..77d1e068c --- /dev/null +++ b/src/clients/kinit/ChangeLog @@ -0,0 +1,4 @@ +Sat Jul 16 03:01:49 1994 Tom Yu (tlyu at dragons-lair) + + * kinit.c: frob error codes + diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index e09517f04..2e2b0de56 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -289,7 +289,7 @@ main(argc, argv) password, ccache, &my_creds, 0); - if (code != KRB5KDC_PREAUTH_FAILED && + if (code != KRB5KDC_ERR_PREAUTH_FAILED && code != KRB5KRB_ERR_GENERIC) break; } @@ -319,7 +319,7 @@ main(argc, argv) ETYPE_DES_CBC_CRC, keytab ? &kt_ent.key : NULL, ccache, &my_creds, 0); - if (code != KRB5KDC_PREAUTH_FAILED && + if (code != KRB5KDC_ERR_PREAUTH_FAILED && code != KRB5KRB_ERR_GENERIC) break; } -- 2.26.2