summaryrefslogtreecommitdiffstats
path: root/proxy/src/client/gpm_get_mic.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/client/gpm_get_mic.c')
-rw-r--r--proxy/src/client/gpm_get_mic.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/proxy/src/client/gpm_get_mic.c b/proxy/src/client/gpm_get_mic.c
index 9c0d4f8..36d819a 100644
--- a/proxy/src/client/gpm_get_mic.c
+++ b/proxy/src/client/gpm_get_mic.c
@@ -52,7 +52,12 @@ OM_uint32 gpm_get_mic(OM_uint32 *minor_status,
/* NOTE: the final free will also release the old context */
arg->context_handle = *context_handle;
arg->qop_req = qop_req;
- gp_conv_buffer_to_gssx(message_buffer, &arg->message_buffer);
+ ret = gp_conv_buffer_to_gssx(message_buffer, &arg->message_buffer);
+ if (ret) {
+ ret_maj = GSS_S_FAILURE;
+ ret_min = ret;
+ goto done;
+ }
/* execute proxy request */
ret = gpm_make_call(GSSX_GET_MIC, &uarg, &ures);