From: Tom Yu <tlyu@mit.edu>
Date: Sat, 16 Jul 1994 10:04:28 +0000 (+0000)
Subject: 	* kinit.c: frob error codes
X-Git-Tag: krb5-1.0-beta4.2~126
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=becd622926d7b0cbcba209d6efad407723391a2f;p=krb5.git

	* kinit.c: frob error codes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3991 dc483132-0cff-0310-8789-dd5450dbe970
---

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;
 	     }