copy_ccache.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright 2002 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
*/
#include <gssapiP_krb5.h>
void *ctx;
{
*minor_status = 0;
/* validate the cred handle */
if (major_status)
goto unlock;
goto unlock;
}
/* Solaris Kerberos: for MT safety, we avoid the use of a default
* context via kg_get_context() */
#if 0
return (GSS_S_FAILURE);
#endif
if (code) {
*minor_status = code;
goto unlock;
}
if (code) {
*minor_status = code;
goto unlock;
} else {
*minor_status = 0;
goto unlock;
}
return(major_status);
}