(proto): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12425 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -88,6 +88,8 @@ proto (int sock, const char *hostname, const char *service)
|
||||
if (status)
|
||||
krb5_err(context, 1, status, "krb5_auth_con_setaddr");
|
||||
|
||||
krb5_cc_clear_mcred(&mcred);
|
||||
|
||||
status = krb5_cc_get_principal(context, ccache, &client);
|
||||
if(status)
|
||||
krb5_err(context, 1, status, "krb5_cc_get_principal");
|
||||
|
Reference in New Issue
Block a user