[gnutls-devel] gnutls handling error

hammi_mohamed_tahar at hotmail.fr hammi_mohamed_tahar at hotmail.fr
Tue Jul 8 15:57:05 CEST 2014


Mr Nikos,

I verified the  _gnutls_gen_extensions(), and I think that all is well, 
maybe I did not activate my extension, or I must add a parametter like 
(--enable-myextension) when I use gnutls-cli ?? this is what I added to 
hooks.m4

#################################################################

ac_enable_myextension=yes
   AC_MSG_CHECKING([whether to disable myextension support])
   AC_ARG_ENABLE(myextension,
     AS_HELP_STRING([--disable-myextension],
                    [disable myextension support]),
     ac_enable_myextension=no)
   if test x$ac_enable_myextension != xno; then
    AC_MSG_RESULT(no)
    AC_DEFINE([ENABLE_MYEXTENSION], 1, [enable myextension])
   else
    ac_full=0
    AC_MSG_RESULT(yes)
   fi
   AM_CONDITIONAL(ENABLE_MYEXTENSION, test "$ac_enable_myextension" != "no")

#################################################################
Nb:
I have not the files "myextension.lo" nor "myextension.o"  like the 
others extensions ??

Regards,
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