* kinit.c: frob error codes
authorTom Yu <tlyu@mit.edu>
Sat, 16 Jul 1994 10:04:28 +0000 (10:04 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 16 Jul 1994 10:04:28 +0000 (10:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3991 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/kinit/ChangeLog [new file with mode: 0644]
src/clients/kinit/kinit.c

diff --git a/src/clients/kinit/ChangeLog b/src/clients/kinit/ChangeLog
new file mode 100644 (file)
index 0000000..77d1e06
--- /dev/null
@@ -0,0 +1,4 @@
+Sat Jul 16 03:01:49 1994  Tom Yu  (tlyu at dragons-lair)
+
+       * kinit.c: frob error codes
+
index e09517f04e43a23ef3cbbd171f06696b5dc432d1..2e2b0de5635bcdb24d98661962cc2376bcf38a04 100644 (file)
@@ -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;
             }