Rework debug_print_hash logic so that it's supported by older versions of perl.

Change-Id: I1720681dc367e01268ffbb1f31035464fa642496
Reviewed-on: https://code.wireshark.org/review/971
Reviewed-by: Michael Mann <mmann78@netscape.net>
Tested-by: Michael Mann <mmann78@netscape.net>
Get it compiling again: packet-asterix.c has unused const variable.

Change-Id: I07125f1779063527f24d9195a9999cef4c8fe343
Reviewed-on: https://code.wireshark.org/review/972
Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
ssl-utils: add support for tls cipher suites from draft-mcgrew-tls-aes-ccm-ecc-08

This adds the new cipher suites from
http://tools.ietf.org/html/draft-mcgrew-tls-aes-ccm-ecc-08
They are defined by IANA in
https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4

Change-Id: I1a1576567782abb93ae5b09efd4199cb1040d5d2
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-on: https://code.wireshark.org/review/966
Reviewed-by: Michael Mann <mmann78@netscape.net>
Upgrade Windows builds to Lua 5.2.3

Change-Id: Ie7fffa9d57b1b861ab57cc55259c79cf0e8ee0e0
Reviewed-on: https://code.wireshark.org/review/974
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
ssl-utils: add detection of Supplemental Data

This adds basic detection of Supplemental Data as defined in RFC4680.

Change-Id: I8dac99bf243a6bd176585d1fe70f82abcae70c7f
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-on: https://code.wireshark.org/review/967
Reviewed-by: Michael Mann <mmann78@netscape.net>
ssl-utils: add named brainpool ecc curves

This adds detection for the named brainpool ecc curves defined in RFC7027.

Change-Id: I125ddbf74068888f4989781d274dbc74feb8b20c
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-on: https://code.wireshark.org/review/968
Reviewed-by: Michael Mann <mmann78@netscape.net>
ssl-utils: add constants defined for draft-ietf-tls-oob-pubkey-11

This adds two tls hello extensions from
http://tools.ietf.org/html/draft-ietf-tls-oob-pubkey-11 which got
numbers assigned by the IANA in
https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml
In addition it also adds a new certificate type defined in the same
documents.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Change-Id: I3c52d9602f2f255a5700cc6a9954385ad0d7cae8
Reviewed-on: https://code.wireshark.org/review/969
Reviewed-by: Michael Mann <mmann78@netscape.net>
ssl-utils: add signed_certificate_timestamp tls hello extension

This extension is defined in RFC 6962.

Change-Id: I3aa7321c60baef59ccb59ded6b91f3e42c854bfa
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-on: https://code.wireshark.org/review/970
Reviewed-by: Michael Mann <mmann78@netscape.net>
dtls: add support for pre master secret file

This adds support to read the pre master secrets from a log file like
it is supported for SSL/TLS.