* ktf_util.c: return KRB5_KEYTAB_BADVNO instead of -1
authorTom Yu <tlyu@mit.edu>
Tue, 15 Aug 1995 05:44:14 +0000 (05:44 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 15 Aug 1995 05:44:14 +0000 (05:44 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6517 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/keytab/file/ChangeLog
src/lib/krb5/keytab/file/ktf_util.c

index ad1ce9f97ee4674aca5e569e7ca84af0a62538ce..134f97a6d3f07c0f1fbe905697d8e9faa2f07db8 100644 (file)
@@ -1,3 +1,7 @@
+Tue Aug 15 01:34:57 1995  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
+
+       * ktf_util.c: return KRB5_KEYTAB_BADVNO instead of -1
+
 Fri Aug  4 21:51:32 1995  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
 
        * ktf_util.c: shut up gcc -Wall
index cc738d924e40351c202542b0f46d8dbebdcc89b9..9c2f7aa55b1c99013e8d893245b878c6f34b47a4 100644 (file)
@@ -154,7 +154,7 @@ int mode;
            (kt_vno != KRB5_KT_VNO_1)) {
            (void) krb5_unlock_file(context, KTFILEP(id), KTFILENAME(id));
            (void) fclose(KTFILEP(id));
-           return -1 /* KRB5_KEYTAB_BADVNO */;
+           return KRB5_KEYTAB_BADVNO;
        }
     }
     return 0;