From: John Kohl Date: Fri, 11 May 1990 16:52:24 +0000 (+0000) Subject: implement it X-Git-Tag: krb5-1.0-alpha2~554 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ea28b134c69ded4acd918bc08eabbf9114a1c250;p=krb5.git implement it git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@851 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/keytab/ktdefault.c b/src/lib/krb5/keytab/ktdefault.c index be38f24eb..0cdc9c342 100644 --- a/src/lib/krb5/keytab/ktdefault.c +++ b/src/lib/krb5/keytab/ktdefault.c @@ -18,11 +18,17 @@ static char rcsid_ktdefault_c [] = #include #include #include +#include krb5_error_code krb5_kt_default(id) krb5_keytab *id; { - return EOPNOTSUPP; + char defname[BUFSIZ]; + krb5_error_code retval; + + if (retval = krb5_kt_default_name(defname, sizeof(defname))) + return retval; + return krb5_kt_resolve(defname, id); }