Wireshark-commits: [Wireshark-commits] rev 25265: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Fri, 09 May 2008 16:15:29 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25265

User: guy
Date: 2008/05/09 09:15 AM

Log:
 sprintf() and strtoul() are massive overkill for turning a string of hex
 digits into a string of characters; use g_ascii_xdigit_value() to
 convert individual hex digit characters to their hex value - and check
 whether it succeeds or not, so we catch invalid hex digits! - and just
 append the resulting byte value to the string.
 
 Handle the case where compute_ascii_key() fails.

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +84 -21    packet-ipsec.c    Modified