From 678eea207799f79b2164d09eae8fd3af8bca33e8 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 15 Aug 1995 05:44:14 +0000 Subject: [PATCH] * 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 --- src/lib/krb5/keytab/file/ChangeLog | 4 ++++ src/lib/krb5/keytab/file/ktf_util.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.26.2