Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 9529] New: Compilation failure: packet-ssl-utils.c:4201:9:

Date: Mon, 09 Dec 2013 12:48:29 +0000
Bug ID 9529
Summary Compilation failure: packet-ssl-utils.c:4201:9: error: implicit declaration of function 'from_hex_char'
Classification Unclassified
Product Wireshark
Version SVN
Hardware x86-64
OS Fedora
Status UNCONFIRMED
Severity Critical
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:
r53881
--
ake[5]: Entering directory `/home/yanivk/wireshark/epan/dissectors'
  CCLD     libdirtydissectors.la
  CCLD     libfiledissectors.la
  CC       libdissectors_la-packet-mndp.lo
  CC       libdissectors_la-packet-ssl-utils.lo
packet-ssl-utils.c: In function 'ssl_keylog_parse_session_id':
packet-ssl-utils.c:4201:9: error: implicit declaration of function
'from_hex_char' [-Werror=implicit-function-declaration]
         if (from_hex_char(line[2*i]) != (ssl_session->session_id.data[i] >> 4)
||
         ^
packet-ssl-utils.c:4218:5: error: implicit declaration of function 'from_hex'
[-Werror=implicit-function-declaration]
     if (!from_hex(&ssl_session->master_secret, line, len))
     ^
cc1: all warnings being treated as errors
make[5]: *** [libdissectors_la-packet-ssl-utils.lo] Error 1


The function from_hex() is defined inside:
  #if defined(HAVE_LIBGNUTLS) && defined(HAVE_LIBGCRYPT)

but it's used outside this #ifdef.


You are receiving this mail because:
  • You are watching all bug changes.