cleanup radius code a bit
[cyrus-sasl.git] / mech_eap / gssapiP_eap.h
index 0b2e64e..45be196 100644 (file)
@@ -44,7 +44,6 @@
 #include <gssapi/gssapi.h>
 #include <gssapi/gssapi_ext.h>
 #include "gssapi_eap.h"
-#include "util.h"
 
 /* Kerberos includes */
 #include <krb5.h>
@@ -69,6 +68,8 @@ typedef struct value_pair VALUE_PAIR;
 #include <freeradius/radius.h>
 #endif
 
+#include "util.h"
+
 /* These name flags are informative and not actually used by anything yet */
 #define NAME_FLAG_NAI                       0x00000001
 #define NAME_FLAG_SERVICE                   0x00000002
@@ -135,7 +136,9 @@ struct gss_eap_initiator_ctx {
 
 struct gss_eap_acceptor_ctx {
     rc_handle *radHandle;
+    int lastStatus;
     VALUE_PAIR *avps;
+    gss_buffer_desc state;
 };
 
 struct gss_ctx_id_struct {