catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23513 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -134,11 +134,14 @@ static OM_uint32 acquire_initiator_cred
|
||||
* errors while searching.
|
||||
*/
|
||||
|
||||
if (handle->principal)
|
||||
if (handle->principal) {
|
||||
kret = krb5_cc_cache_match (context,
|
||||
handle->principal,
|
||||
NULL,
|
||||
&ccache);
|
||||
if (kret)
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (ccache == NULL) {
|
||||
kret = krb5_cc_default(context, &ccache);
|
||||
|
Reference in New Issue
Block a user