* kadmin.c (get_first_ticket): change error code to match
authorTom Yu <tlyu@mit.edu>
Sat, 16 Jul 1994 10:05:43 +0000 (10:05 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 16 Jul 1994 10:05:43 +0000 (10:05 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3993 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/client/ChangeLog
src/kadmin/client/kadmin.c

index 56454bad23b86e759989300942fb9795ee78e32b..556ef531bef4fcf9b445267403f0f2969874561a 100644 (file)
@@ -1,3 +1,7 @@
+Sat Jul 16 02:47:38 1994  Tom Yu  (tlyu at dragons-lair)
+
+       * kadmin.c (get_first_ticket): change error code to match
+
 Fri Jun 24 22:48:29 1994  Theodore Y. Ts'o  (tytso at tsx-11)
 
        * kadmin_done (kadm_done): fix memory allocation bugs
index 52d922d7195bd11281b7da98523a4b21e8fa2b89..50f5c27362988030a10eac22f36d9e9b31bfc8f3 100644 (file)
@@ -603,7 +603,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;
     }