Wireshark-commits: [Wireshark-commits] rev 25755: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Wed, 16 Jul 2008 14:21:16 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25755

User: morriss
Date: 2008/07/16 07:21 AM

Log:
 ssl_hash() needs the StringInfo.data it is passed to be word aligned and it appears that it is (it is ep_malloc'd in ssl_save_session()).  Add an intermediate cast to tell the compiler the alignment is okay and comments explaining the cast and warning anyone who might change how it is allocated to keep it aligned.

Directory: /trunk/epan/dissectors/
  Changes    Path                  Action
  +17 -7     packet-ssl-utils.c    Modified