diff --git a/lib/gssapi/krb5/store_cred.c b/lib/gssapi/krb5/store_cred.c index faeee6269..7e14e5342 100644 --- a/lib/gssapi/krb5/store_cred.c +++ b/lib/gssapi/krb5/store_cred.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. */ -RCSID("$Id$"); +#include "gsskrb5_locl.h" OM_uint32 _gsskrb5_store_cred(OM_uint32 *minor_status, @@ -48,8 +48,6 @@ _gsskrb5_store_cred(OM_uint32 *minor_status, *minor_status = 0; - handle = NULL; - if (cred_usage != GSS_C_INITIATE) { *minor_status = GSS_KRB5_S_G_BAD_USAGE; return GSS_S_FAILURE; @@ -74,5 +72,5 @@ _gsskrb5_store_cred(OM_uint32 *minor_status, /* write out cred to credential cache */ *minor_status = 0; - return ret; + return GSS_S_FAILURE; }