krb5-klog-solaris-krb-20080327

LICENSE IPL10
FIXES 91573

no krb5_mcc_ops on solaris krb5. cope
This commit is contained in:
Douglas Engert 2008-03-27 18:48:22 +00:00 committed by Derrick Brashear
parent 87e959e87d
commit e002118066

View File

@ -44,10 +44,6 @@
#define USING_HEIMDAL 1
#endif
#ifndef USING_HEIMDAL
extern krb5_cc_ops krb5_mcc_ops;
#endif
#include "assert.h"
@ -598,11 +594,6 @@ CommandProc(struct cmd_syndesc *as, void *arock)
what = "getting default ccache";
code = krb5_cc_default(k5context, &cc);
} else {
#ifdef HAVE_KRB5_CC_REGISTER
what = "krb5_cc_register";
code = krb5_cc_register(k5context, &krb5_mcc_ops, FALSE);
if (code && code != KRB5_CC_TYPE_EXISTS) goto Failed;
#endif
what = "krb5_cc_resolve";
code = krb5_cc_resolve(k5context, "MEMORY:core", &cc);
if (code) goto Failed;