diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-13 21:08:02 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-13 21:08:02 +0000 |
commit | 6baf7cc80ea9cb47434833c387c09cacfd248571 (patch) | |
tree | 8514b64e320ec177cc682e7beb87182f36110d47 /lib/libgssapi/gss_wrap.c | |
parent | 361c75321b30cb78c342c953b08f1e83817fcbf9 (diff) |
Notes
Diffstat (limited to 'lib/libgssapi/gss_wrap.c')
-rw-r--r-- | lib/libgssapi/gss_wrap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libgssapi/gss_wrap.c b/lib/libgssapi/gss_wrap.c index 2f9431694a5f..1cf046ab86b6 100644 --- a/lib/libgssapi/gss_wrap.c +++ b/lib/libgssapi/gss_wrap.c @@ -42,7 +42,7 @@ gss_wrap(OM_uint32 *minor_status, gss_buffer_t output_message_buffer) { struct _gss_context *ctx = (struct _gss_context *) context_handle; - struct _gss_mech_switch *m = ctx->gc_mech; + struct _gss_mech_switch *m; if (conf_state) *conf_state = 0; @@ -51,6 +51,7 @@ gss_wrap(OM_uint32 *minor_status, *minor_status = 0; return (GSS_S_NO_CONTEXT); } + m = ctx->gc_mech; return (m->gm_wrap(minor_status, ctx->gc_ctx, conf_req_flag, qop_req, input_message_buffer, |