formatting cleanup
[mech_eap.git] / mech_eap / wrap_size_limit.c
index aadf1b4..78d3223 100644 (file)
@@ -36,7 +36,7 @@
 
 #include "gssapiP_eap.h"
 
-OM_uint32
+OM_uint32 GSSAPI_CALLCONV
 gss_wrap_size_limit(OM_uint32 *minor,
                     gss_ctx_id_t ctx,
                     int conf_req_flag,
@@ -79,7 +79,7 @@ gss_wrap_size_limit(OM_uint32 *minor,
     iov[3].buffer.length = 0;
 
     major = gssEapWrapIovLength(minor, ctx, conf_req_flag, qop_req,
-                                NULL, iov, 4);
+                                NULL, iov, TOK_TYPE_WRAP, 4);
     if (GSS_ERROR(major))
         goto cleanup;