use KRB5KRB_ERR_GENERIC, not KRB_ERR_GENERIC in preauth2.c
authorTom Yu <tlyu@mit.edu>
Tue, 19 Dec 2006 04:16:30 +0000 (04:16 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 19 Dec 2006 04:16:30 +0000 (04:16 +0000)
* src/lib/krb5/krb/preauth2.c (krb5_do_preauth_tryagain): Use
KRB5KRB_ERR_GENERIC, not KRB_ERR_GENERIC.

ticket: new
target_version: 1.6
tags: pullup
component: krb5-libs

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

src/lib/krb5/krb/preauth2.c

index 2760f30bd741b3f8ef8f1535d71c1dd9c0baec39..598709a0c7fdd2cd9bbc6ce0fe2d8001211d2fdc 100644 (file)
@@ -1308,13 +1308,13 @@ krb5_do_preauth_tryagain(krb5_context kcontext,
     int i, j;
     int out_pa_list_size = 0;
 
-    ret = KRB_ERR_GENERIC;
+    ret = KRB5KRB_ERR_GENERIC;
     if (kcontext->preauth_context == NULL) {
-       return KRB_ERR_GENERIC;
+       return KRB5KRB_ERR_GENERIC;
     }
     context = kcontext->preauth_context;
     if (context == NULL) {
-       return KRB_ERR_GENERIC;
+       return KRB5KRB_ERR_GENERIC;
     }
 
     for (i = 0; padata[i] != NULL && padata[i]->pa_type != 0; i++) {