Wireshark-commits: [Wireshark-commits] rev 52147: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Thu, 19 Sep 2013 20:26:50 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52147

User: alagoutte
Date: 2013/09/19 01:26 PM

Log:
 From Peter Wu via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9144 [PATCH] Update TLS Ciphers
 
 Drop export_cipher and dig_len, cleaner digest access
 
 Removed dig_len as this magic number is dependent on dig. The digests
 variable is converted from a string to a structure holding the digest
 name and length because of its close dependency.
 
 Introduce another struct+function to get rid of the magic number 0x40
 (DIG_MD5).
 
 Removed export_cipher bit as this is dependent on eff_bits < bits.
 Verified with:
 grep ,KEX_ packet-ssl-utils.c | awk -F, '{bits=$6!=$7;ex=$9;
 if ((bits && !ex) || (!bits && ex))print $6, $7, $8, "###", $0}'.
 
 Removed space before SIG_RSA for cipher 51 for consistency with others.

Directory: /trunk/epan/dissectors/
  Changes    Path                  Action
  +174 -167  packet-ssl-utils.c    Modified
  +5 -2      packet-ssl-utils.h    Modified