fix some build errors
[mech_eap.git] / util.h
diff --git a/util.h b/util.h
index 0fceafe..42b2ed6 100644 (file)
--- a/util.h
+++ b/util.h
@@ -73,7 +73,7 @@ enum gss_eap_token_type {
     TOK_TYPE_DELETE_CONTEXT          = 0x0405,  /* RFC 2743 delete context */
     TOK_TYPE_EAP_RESP                = 0x0601,  /* draft-howlett-eap-gss */
     TOK_TYPE_EAP_REQ                 = 0x0602,  /* draft-howlett-eap-gss */
-    TOK_TYPE_GSS_CHANNEL_BINDINGS    = 0x0603,  /* draft-howlett-eap-gss */
+    TOK_TYPE_GSS_CB                  = 0x0603,  /* draft-howlett-eap-gss */
 };
 
 /* util_buffer.c */
@@ -181,7 +181,8 @@ gssEapAllocIov(gss_iov_buffer_t iov, size_t size);
 
 OM_uint32
 gssEapDeriveRFC3961Key(OM_uint32 *minor,
-                       gss_buffer_t msk,
+                       const unsigned char *key,
+                       size_t keyLength,
                        krb5_enctype enctype,
                        krb5_keyblock *pKey);