support gss_get_mic_iov et al
[mech_eap.git] / mech_eap / wrap.c
index a89bcb6..e0f20b8 100644 (file)
@@ -36,7 +36,7 @@
 
 #include "gssapiP_eap.h"
 
-OM_uint32
+OM_uint32 GSSAPI_CALLCONV
 gss_wrap(OM_uint32 *minor,
          gss_ctx_id_t ctx,
          int conf_req_flag,
@@ -104,7 +104,7 @@ gssEapWrap(OM_uint32 *minor,
     iov[3].buffer.length = 0;
 
     major = gssEapWrapIovLength(minor, ctx, conf_req_flag, qop_req,
-                                NULL, iov, 4);
+                                NULL, iov, 4, TOK_TYPE_WRAP);
     if (GSS_ERROR(major)) {
         return major;
     }