Ethereal-dev: Re: [Ethereal-dev] SSL decryption patch for ethereal 0.10.13

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Mon, 5 Dec 2005 00:48:19 +0100
On Thu, Nov 24, 2005 at 05:02:29PM +0100, Paolo Abeni wrote:
> The attached patch is an updated version of the previous one I posted
> some time ago. I reworked a large part of the code. It links against
> gnutls and support also the AES encryption algorithm. The patch modify
> some autoconf related files, so you need to invoke 'autogen.sh' after
> applying the patch. 

Just a few notes:

When the packages containing the libs are present, but the development
stuff is missing, configure fails. The proper way to handle this should
be to disable this feature and continue.

Also, the necessary changes to epan/dissctors/Makefile.common are
missing.

Compiling gives a lot of warnings, the list is attached.


 Ciao
   Joerg
if /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./..  -I/usr/local/include -I/usr/include  -DINET6 -D_U_="__attribute__((unused))" -Wall -Wpointer-arith -W  -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -O3 -I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -I/usr/include -MT packet-ssl-utils.lo -MD -MP -MF ".deps/packet-ssl-utils.Tpo" -c -o packet-ssl-utils.lo packet-ssl-utils.c; \
then mv -f ".deps/packet-ssl-utils.Tpo" ".deps/packet-ssl-utils.Plo"; else rm -f ".deps/packet-ssl-utils.Tpo"; exit 1; fi
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./.. -I/usr/local/include -I/usr/include -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -O3 -I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/usr/include -MT packet-ssl-utils.lo -MD -MP -MF .deps/packet-ssl-utils.Tpo -c packet-ssl-utils.c  -fPIC -DPIC -o .libs/packet-ssl-utils.o
In file included from packet-ssl-utils.c:30:
packet-ssl-utils.h:16:1: warning: C++ style comments are not allowed in ISO C90
packet-ssl-utils.h:16:1: warning: (this will be reported only once per input file)
packet-ssl-utils.c:92: warning: no previous declaration for 'pcry_private_decrypt'
packet-ssl-utils.c: In function 'pcry_private_decrypt':
packet-ssl-utils.c:102: warning: pointer targets in passing argument 3 of 'gcry_mpi_scan' differ in signedness
packet-ssl-utils.c:102: warning: pointer targets in passing argument 5 of 'gcry_mpi_scan' differ in signedness
packet-ssl-utils.c:105: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:114: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:124: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:133: warning: pointer targets in passing argument 4 of 'gcry_mpi_print' differ in signedness
packet-ssl-utils.c:135: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:143: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness
packet-ssl-utils.c:143: warning: pointer targets in passing argument 4 of 'gcry_mpi_print' differ in signedness
packet-ssl-utils.c:145: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:161: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: At top level:
packet-ssl-utils.c:206: warning: initialization discards qualifiers from pointer target type
packet-ssl-utils.c:208: warning: initialization discards qualifiers from pointer target type
packet-ssl-utils.c:211: warning: initialization discards qualifiers from pointer target type
packet-ssl-utils.c:212: warning: initialization discards qualifiers from pointer target type
packet-ssl-utils.c:213: warning: initialization discards qualifiers from pointer target type
packet-ssl-utils.c:214: warning: initialization discards qualifiers from pointer target type
packet-ssl-utils.c:215: warning: initialization discards qualifiers from pointer target type
packet-ssl-utils.c:217: warning: initialization discards qualifiers from pointer target type
packet-ssl-utils.c:296: warning: no previous declaration for 'ssl_data_alloc'
packet-ssl-utils.c: In function 'ssl_alloc_session':
packet-ssl-utils.c:378: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: In function 'tls_hash':
packet-ssl-utils.c:391: warning: pointer targets in initialization differ in signedness
packet-ssl-utils.c:402: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:403: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:409: warning: ISO C forbids braced-groups within expressions
packet-ssl-utils.c:410: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:416: warning: ISO C forbids braced-groups within expressions
packet-ssl-utils.c:417: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: In function 'tls_prf':
packet-ssl-utils.c:447: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:462: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:465: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: In function 'ssl3_prf':
packet-ssl-utils.c:526: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:549: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: At top level:
packet-ssl-utils.c:564: warning: no previous declaration for 'ssl_create_decoder'
packet-ssl-utils.c: In function 'ssl_create_decoder':
packet-ssl-utils.c:569: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:574: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:582: warning: pointer targets in passing argument 2 of 'ssl_data_set' differ in signedness
packet-ssl-utils.c:586: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: In function 'ssl_generate_keyring_material':
packet-ssl-utils.c:600: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:601: warning: passing argument 2 of 'ssl3_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:601: warning: passing argument 2 of 'tls_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:604: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:619: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:622: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:623: warning: passing argument 2 of 'ssl3_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:623: warning: passing argument 2 of 'tls_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:626: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:631: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:650: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:652: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:656: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:659: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:662: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:665: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:675: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:681: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:685: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:688: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:689: warning: passing argument 2 of 'ssl3_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:689: warning: passing argument 2 of 'tls_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:692: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:707: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:718: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:728: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:730: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:733: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:735: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:736: warning: passing argument 2 of 'ssl3_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:736: warning: passing argument 2 of 'tls_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:739: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:744: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:746: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:747: warning: passing argument 2 of 'ssl3_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:747: warning: passing argument 2 of 'tls_prf' discards qualifiers from pointer target type
packet-ssl-utils.c:750: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:757: warning: pointer targets in passing argument 2 of 'ssl_print_data' differ in signedness
packet-ssl-utils.c:758: warning: pointer targets in passing argument 2 of 'ssl_print_data' differ in signedness
packet-ssl-utils.c:759: warning: pointer targets in passing argument 2 of 'ssl_print_data' differ in signedness
packet-ssl-utils.c:760: warning: pointer targets in passing argument 2 of 'ssl_print_data' differ in signedness
packet-ssl-utils.c:764: warning: pointer targets in passing argument 2 of 'ssl_print_data' differ in signedness
packet-ssl-utils.c:765: warning: pointer targets in passing argument 2 of 'ssl_print_data' differ in signedness
packet-ssl-utils.c:768: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:771: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:774: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:777: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: In function 'ssl_decrypt_pre_master_secret':
packet-ssl-utils.c:797: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:811: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:817: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: In function 'tls_check_mac':
packet-ssl-utils.c:877: warning: ISO C forbids braced-groups within expressions
packet-ssl-utils.c: At top level:
packet-ssl-utils.c:887: warning: no previous declaration for 'ssl3_check_mac'
packet-ssl-utils.c: In function 'ssl3_check_mac':
packet-ssl-utils.c:919: warning: ISO C forbids braced-groups within expressions
packet-ssl-utils.c:929: warning: ISO C forbids braced-groups within expressions
packet-ssl-utils.c: In function 'ssl_decrypt_record':
packet-ssl-utils.c:943: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:947: warning: pointer targets in passing argument 2 of 'gcry_cipher_decrypt' differ in signedness
packet-ssl-utils.c:947: warning: pointer targets in passing argument 4 of 'gcry_cipher_decrypt' differ in signedness
packet-ssl-utils.c:961: warning: pointer targets in assignment differ in signedness
packet-ssl-utils.c:965: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:967: warning: pointer targets in passing argument 3 of 'ssl3_check_mac' differ in signedness
packet-ssl-utils.c:968: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:973: warning: pointer targets in passing argument 4 of 'tls_check_mac' differ in signedness
packet-ssl-utils.c:974: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:978: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: In function 'ssl_load_key':
packet-ssl-utils.c:1007: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1011: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1015: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1023: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1029: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1033:5: warning: C++ style comments are not allowed in ISO C90
packet-ssl-utils.c:1033:5: warning: (this will be reported only once per input file)
packet-ssl-utils.c:1037: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1042: warning: pointer targets in passing argument 5 of 'gcry_mpi_scan' differ in signedness
packet-ssl-utils.c:1043: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1046: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1048: warning: pointer targets in passing argument 5 of 'gcry_mpi_scan' differ in signedness
packet-ssl-utils.c:1049: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1052: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1056: warning: pointer targets in passing argument 5 of 'gcry_mpi_scan' differ in signedness
packet-ssl-utils.c:1057: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1060: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1062: warning: pointer targets in passing argument 5 of 'gcry_mpi_scan' differ in signedness
packet-ssl-utils.c:1063: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1066: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1068: warning: pointer targets in passing argument 5 of 'gcry_mpi_scan' differ in signedness
packet-ssl-utils.c:1069: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1072: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1074: warning: pointer targets in passing argument 5 of 'gcry_mpi_scan' differ in signedness
packet-ssl-utils.c:1075: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1078: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c:1084: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl-utils.c: In function 'ssl_generate_keyring_material':
packet-ssl-utils.c:596: warning: 's_iv' may be used uninitialized in this function
packet-ssl-utils.c:596: warning: 'c_iv' may be used uninitialized in this function
if /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./..  -I/usr/local/include -I/usr/include  -DINET6 -D_U_="__attribute__((unused))" -Wall -Wpointer-arith -W  -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -O3 -I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -I/usr/include -MT packet-ssl.lo -MD -MP -MF ".deps/packet-ssl.Tpo" -c -o packet-ssl.lo packet-ssl.c; \
then mv -f ".deps/packet-ssl.Tpo" ".deps/packet-ssl.Plo"; else rm -f ".deps/packet-ssl.Tpo"; exit 1; fi
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./.. -I/usr/local/include -I/usr/include -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -O3 -I/usr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/usr/include -MT packet-ssl.lo -MD -MP -MF .deps/packet-ssl.Tpo -c packet-ssl.c  -fPIC -DPIC -o .libs/packet-ssl.o
In file included from packet-ssl.c:104:
../../epan/dissectors/packet-ssl-utils.h:16:1: warning: C++ style comments are not allowed in ISO C90
../../epan/dissectors/packet-ssl-utils.h:16:1: warning: (this will be reported only once per input file)
packet-ssl.c:215: warning: initialization discards qualifiers from pointer target type
packet-ssl.c:217: warning: initialization discards qualifiers from pointer target type
packet-ssl.c:218: warning: initialization discards qualifiers from pointer target type
packet-ssl.c:219: warning: initialization discards qualifiers from pointer target type
packet-ssl.c:220: warning: initialization discards qualifiers from pointer target type
packet-ssl.c: In function 'ssl_hash':
packet-ssl.c:244: warning: cast discards qualifiers from pointer target type
packet-ssl.c: In function 'ssl_private_key_hash':
packet-ssl.c:268: warning: cast discards qualifiers from pointer target type
packet-ssl.c: In function 'dissect_ssl':
packet-ssl.c:973: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c: In function 'dissect_ssl3_record':
packet-ssl.c:1315: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1336:13: warning: C++ style comments are not allowed in ISO C90
packet-ssl.c:1336:13: warning: (this will be reported only once per input file)
packet-ssl.c:1360: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1367: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1373: warning: pointer targets in passing argument 4 of 'ssl_decrypt_record' differ in signedness
packet-ssl.c:1378: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1388: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1395: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1399: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1408: warning: ISO C90 forbids mixed declarations and code
packet-ssl.c:1413: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1423: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1427: warning: pointer targets in passing argument 1 of 'tvb_new_real_data' differ in signedness
packet-ssl.c:1427: warning: ISO C90 forbids mixed declarations and code
packet-ssl.c:1435: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c: In function 'dissect_ssl3_alert':
packet-ssl.c:1539: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c: In function 'dissect_ssl3_handshake':
packet-ssl.c:1615: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1693: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1699: warning: pointer targets in passing argument 4 of 'ssl_decrypt_record' differ in signedness
packet-ssl.c:1761: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1765: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1773: warning: pointer targets in passing argument 2 of 'tvb_memcpy' differ in signedness
packet-ssl.c:1776: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1784: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1788: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1793: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c: In function 'dissect_ssl3_hnd_hello_common':
packet-ssl.c:1829: warning: pointer targets in passing argument 2 of 'tvb_memcpy' differ in signedness
packet-ssl.c:1836: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:1841: warning: pointer targets in passing argument 3 of 'tvb_memeql' differ in signedness
packet-ssl.c:1852: warning: pointer targets in passing argument 2 of 'tvb_memcpy' differ in signedness
packet-ssl.c: In function 'dissect_ssl3_hnd_srv_hello':
packet-ssl.c:2098: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:2104: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:2112: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:2116: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:2118: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c: In function 'dissect_ssl2_hnd_client_hello':
packet-ssl.c:2617: warning: unused parameter 'ssl'
packet-ssl.c: In function 'ssl_init':
packet-ssl.c:3603: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:3620: warning: pointer targets in assignment differ in signedness
packet-ssl.c:3622: warning: ISO C90 does not support the 'hh' scanf length modifier
packet-ssl.c:3622: warning: format '%hhu' expects type 'unsigned char *', but argument 3 has type 'char *'
packet-ssl.c:3622: warning: ISO C90 does not support the 'hh' scanf length modifier
packet-ssl.c:3622: warning: format '%hhu' expects type 'unsigned char *', but argument 4 has type 'char *'
packet-ssl.c:3622: warning: ISO C90 does not support the 'hh' scanf length modifier
packet-ssl.c:3622: warning: format '%hhu' expects type 'unsigned char *', but argument 5 has type 'char *'
packet-ssl.c:3622: warning: ISO C90 does not support the 'hh' scanf length modifier
packet-ssl.c:3622: warning: format '%hhu' expects type 'unsigned char *', but argument 6 has type 'char *'
packet-ssl.c:3625: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:3643: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c: In function 'ssl_restore_session':
packet-ssl.c:3669: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:3674: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c: At top level:
packet-ssl.c:3684: warning: no previous declaration for 'proto_register_ssl'
packet-ssl.c: In function 'proto_register_ssl':
packet-ssl.c:4099: warning: passing argument 5 of 'prefs_register_string_preference' from incompatible pointer type
packet-ssl.c: In function 'ssl_find_dissector':
packet-ssl.c:4114: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c:4116: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type
packet-ssl.c: At top level:
packet-ssl.c:4129: warning: no previous declaration for 'proto_reg_handoff_ssl'
packet-ssl.c: In function 'proto_reg_handoff_ssl':
packet-ssl.c:4134: warning: ISO C90 forbids mixed declarations and code
packet-ssl.c:4144: warning: passing argument 1 of 'ssl_debug_printf' discards qualifiers from pointer target type