pull up r18977 from trunk
authorTom Yu <tlyu@mit.edu>
Tue, 19 Dec 2006 05:05:41 +0000 (05:05 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 19 Dec 2006 05:05:41 +0000 (05:05 +0000)
 r18977@cathode-dark-space:  tlyu | 2006-12-18 23:16:30 -0500
 ticket: new
 target_version: 1.6
 tags: pullup
 component: krb5-libs
 subject: use KRB5KRB_ERR_GENERIC, not KRB_ERR_GENERIC in preauth2.c

  * src/lib/krb5/krb/preauth2.c (krb5_do_preauth_tryagain): Use
  KRB5KRB_ERR_GENERIC, not KRB_ERR_GENERIC.

ticket: 5124
version_fixed: 1.6

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@18980 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/preauth2.c

index fc1bc71da894fcb3b9508ae6dc1e14435a317c30..7bcfff6f268191fb47074262cbca2ac646866bc4 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++) {