Get rid of the MS_ChapResponse and MS_Chap2Response structures.
authorPaul Mackerras <paulus@samba.org>
Mon, 15 Nov 2004 22:13:26 +0000 (22:13 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 15 Nov 2004 22:13:26 +0000 (22:13 +0000)
commit6bd2208f408588cab66a4da26ebee1159840db81
tree147c4fe5e75cb75550670725da2ea05a1bd7fc5d
parent69dda243ba613a88ffd951de15b6906e14c49a65
Get rid of the MS_ChapResponse and MS_Chap2Response structures.
Using a struct to represent an on-the-wire format is basically
broken, since the compiler can add padding between members or
assume alignment for the struct.  Instead we just use arrays
of unsigned char and define offsets in the arrays for the various
fields.
pppd/chap_ms.c
pppd/chap_ms.h
pppd/plugins/radius/radius.c
pppd/plugins/winbind.c