[gnutls-devel] gnutls handling error

hammi_mohamed_tahar at hotmail.fr hammi_mohamed_tahar at hotmail.fr
Wed Jul 9 11:24:17 CEST 2014

Mr Nikos,

I think I understood the reason why I have not the "myextension.lo" and 
the "myextension.o", and the reason why I can not see my extension with 
Wireshark, it's all just because my extension was not taken into account 
in the "hooks.m4":

                    [disable the MYEXTENSION support]),

when I changed the value "no" into a "yes" (and done: autoreconf, ./ 
configure --enable-myextension, make.), I had exactly the same errors I 
got the first time:

. /.. / gnutls_datum.h: 26:24: error: unknown type name 'gnutls_datum_t'
_gnutls_set_datum int (* gnutls_datum_t dat, const void * data,
. /.. / gnutls_datum.h: 27:26: error: unknown type name 'size_t'
DATA_SIZE size_t);

/ gnutls_int.h: 726:3: error: unknown type name 'gnutls_buffer_st'
gnutls_int.h: 782:3: error: unknown type name 'gnutls_buffer_st'
myExtension.c 3:11 p.m.: error: unknown type name 'opaque'
const opaque * data,

[.............. etc]

Please, if you can find the problem I would be very grateful.

thank you,
Mohamed Tahar HAMMI

Le 08/07/2014 15:02, Nikos Mavrogiannopoulos a écrit :
> On Mon, Jul 7, 2014 at 3:52 PM, hammi_mohamed_tahar at hotmail.fr
> <hammi_mohamed_tahar at hotmail.fr> wrote:
>> Mr Nikos,
>> I redid the steps of "
>> http://gnutls.org/manual/html_node/TLS-Extension-Handling.html " until just
>> before the step " Add API functions to enable/disable the extension ", and I
>> ran the commande "autoreconf" just after the modification of the "hooks.m4",
>> then I made :
> [...]
>> But when I try to see the display of my new extension, I can not find it.
>> For exemple when I Write : gnutls-cli --verbose --port 443 www.ietf.org
> I assume that you registered you extension, so my guess would be to
> see _gnutls_gen_extensions() and why it is or is not sent.
> regards,
> Nikos

More information about the Gnutls-devel mailing list