ttls: chbind_hdr is packed
authorSam Hartman <hartmans@debian.org>
Mon, 25 Mar 2013 20:19:36 +0000 (16:19 -0400)
committerSam Hartman <hartmans@debian.org>
Tue, 26 Mar 2013 02:12:37 +0000 (22:12 -0400)
libeap/src/eap_peer/eap_ttls.c

index 40d160d..efd2374 100644 (file)
@@ -91,7 +91,7 @@ struct eap_ttls_data {
 struct chbind_hdr {
        u16 len;
        u8 nsid;
-};
+} STRUCT_PACKED;
 
 #ifdef _MSC_VER
 #pragma pack(pop)