diff options
author | Simo Sorce <simo@redhat.com> | 2012-01-30 14:25:21 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-02-01 17:56:34 -0500 |
commit | 328bb688e1d8a11645e19631401e93e4cadad65f (patch) | |
tree | e16e5f61c5c6c6dff307edb41fdb470651de2adf /proxy/src/gp_conv.c | |
parent | 5ece0443a85a0c6339c5fed6b7d1e2f6a214356f (diff) | |
download | gss-proxy-328bb688e1d8a11645e19631401e93e4cadad65f.tar.gz gss-proxy-328bb688e1d8a11645e19631401e93e4cadad65f.tar.xz gss-proxy-328bb688e1d8a11645e19631401e93e4cadad65f.zip |
Add server implementation of acquire_cred
Diffstat (limited to 'proxy/src/gp_conv.c')
-rw-r--r-- | proxy/src/gp_conv.c | 8 |
1 files changed, 5 insertions, 3 deletions
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; |