X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=moonshot%2Fmech_eap%2Funwrap_iov.c;h=2156e512dafa7f843f7044ed8340d2b0ae770306;hb=05787dbcaef9dea960af39dfeeafe074956c84d4;hp=19bafc6bbd8c3a5b7c715a36e8fa8569e4ffd7c8;hpb=a9bf34aa6f6cf8d8ab975989ae5103798d7e3e75;p=moonshot.git diff --git a/moonshot/mech_eap/unwrap_iov.c b/moonshot/mech_eap/unwrap_iov.c index 19bafc6..2156e51 100644 --- a/moonshot/mech_eap/unwrap_iov.c +++ b/moonshot/mech_eap/unwrap_iov.c @@ -319,7 +319,7 @@ unwrapStream(OM_uint32 *minor, unsigned char *ptr; OM_uint32 code = 0, major = GSS_S_FAILURE; krb5_context krbContext; - int conf_req_flag, toktype2; + int conf_req_flag; int i = 0, j; gss_iov_buffer_desc *tiov = NULL; gss_iov_buffer_t stream, data = NULL; @@ -346,8 +346,7 @@ unwrapStream(OM_uint32 *minor, } ptr = (unsigned char *)stream->buffer.value; - toktype2 = load_uint16_be(ptr); - ptr += 2; + ptr += 2; /* skip token type */ tiov = (gss_iov_buffer_desc *)GSSEAP_CALLOC((size_t)iov_count + 2, sizeof(gss_iov_buffer_desc));