From 986aff5a861cd99422a83933152fb77d9d519249 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Mon, 14 Dec 2009 16:05:10 -0800 Subject: [PATCH] (kcm_send_request): if heim_ipc_init_context, we have not kcm --- lib/krb5/kcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/kcm.c b/lib/krb5/kcm.c index d1d6c534d..01ea18477 100644 --- a/lib/krb5/kcm.c +++ b/lib/krb5/kcm.c @@ -78,7 +78,7 @@ kcm_send_request(krb5_context context, ret = heim_ipc_init_context(kcm_ipc_name, &kcm_ipc); HEIMDAL_MUTEX_unlock(&kcm_mutex); if (ret) - return ret; + return KRB5_CC_NOSUPP; ret = krb5_storage_to_data(request, &request_data); if (ret) {