From: Tom Yu Date: Tue, 15 Aug 1995 05:44:14 +0000 (+0000) Subject: * ktf_util.c: return KRB5_KEYTAB_BADVNO instead of -1 X-Git-Tag: krb5-1.0-beta6~1320 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=678eea207799f79b2164d09eae8fd3af8bca33e8;p=krb5.git * ktf_util.c: return KRB5_KEYTAB_BADVNO instead of -1 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6517 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/keytab/file/ChangeLog b/src/lib/krb5/keytab/file/ChangeLog index ad1ce9f97..134f97a6d 100644 --- a/src/lib/krb5/keytab/file/ChangeLog +++ b/src/lib/krb5/keytab/file/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 15 01:34:57 1995 Tom Yu + + * ktf_util.c: return KRB5_KEYTAB_BADVNO instead of -1 + Fri Aug 4 21:51:32 1995 Tom Yu * ktf_util.c: shut up gcc -Wall diff --git a/src/lib/krb5/keytab/file/ktf_util.c b/src/lib/krb5/keytab/file/ktf_util.c index cc738d924..9c2f7aa55 100644 --- a/src/lib/krb5/keytab/file/ktf_util.c +++ b/src/lib/krb5/keytab/file/ktf_util.c @@ -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;