rpanah / tlsparser

A parser for raw TLS records and TLS flows.
Apache License 2.0
4 stars 2 forks source link

EXT_COMPRESS_CERTIFICATE compil error #19

Open sam-maverick opened 1 year ago

sam-maverick commented 1 year ago

Hello :)

It gives me an error when I try to compile, see below

I think that the EXT_COMPRESS_CERTIFICATE constant should be defined tls_extensions.h, and it is not.

make
gcc -c `pkg-config --cflags glib-2.0` `pkg-config --cflags openssl` -o tls_extensions.o tls_extensions.c
tls_extensions.c: In function ‘extension_name’:
tls_extensions.c:122:14: error: ‘EXT_COMPRESS_CERTIFICATE’ undeclared (first use in this function)
  122 |         case EXT_COMPRESS_CERTIFICATE:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
tls_extensions.c:122:14: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:20: tls_extensions.o] Error 1