From 328bb688e1d8a11645e19631401e93e4cadad65f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 30 Jan 2012 14:25:21 -0500 Subject: Add server implementation of acquire_cred --- proxy/src/gp_conv.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'proxy/src/gp_conv.c') diff --git a/proxy/src/gp_conv.c b/proxy/src/gp_conv.c index c5a96dc..f376793 100644 --- a/proxy/src/gp_conv.c +++ b/proxy/src/gp_conv.c @@ -445,9 +445,11 @@ int gp_conv_status_to_gssx(struct gssx_call_ctx *call_ctx, status->major_status = ret_maj; - ret = gp_conv_oid_to_gssx(mech, &status->mech); - if (ret) { - goto done; + if (mech) { + ret = gp_conv_oid_to_gssx(mech, &status->mech); + if (ret) { + goto done; + } } status->minor_status = ret_min; -- cgit