[gnutls-devel] gnutls handling error

hammi_mohamed_tahar at hotmail.fr hammi_mohamed_tahar at hotmail.fr
Mon Jul 7 15:52:14 CEST 2014


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 :

./configure --enable-myextention
make --> this time I have no more errors
make check -->(I had no error)
sudo make install

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 get :

################## Wireshark #####################################
Transmission Control Protocol, Src Port: 50917 (50917), Dst Port: https 
(443), Seq: 1, Ack: 1, Len: 275
Secure Sockets Layer
     TLSv1.2 Record Layer: Handshake Protocol: Client Hello
         Content Type: Handshake (22)
         Version: SSL 3.0 (0x0300)
         Length: 270
         Handshake Protocol: Client Hello
             Handshake Type: Client Hello (1)
             Length: 266
             Version: TLS 1.2 (0x0303)
             Random
             Session ID Length: 0
             Cipher Suites Length: 132
             Cipher Suites (66 suites)
             Compression Methods Length: 1
             Compression Methods (1 method)
             Extensions Length: 93
             Extension: status_request
             Extension: server_name
             Extension: renegotiation_info
             Extension: SessionTicket TLS
             Extension: elliptic_curves
             Extension: ec_point_formats
             Extension: signature_algorithms

#####################################################################
At first time I juste want to see the name of my extension added to the 
list, what I must do ?

Thank you.
Mohamed Tahar HAMMI





Le 07/07/2014 10:51, Nikos Mavrogiannopoulos a écrit :
> On Mon, Jul 7, 2014 at 12:47 AM, hammi_mohamed_tahar at hotmail.fr
> <hammi_mohamed_tahar at hotmail.fr> wrote:
>> Hello,
>> First of all, thank you for your answer,
> [...]
>> 5- Compile and install:  ./configure && make && make install
>> 6- Add a symlink to your libgnutls.so.28 file so gnutls-cli can tell us what
>> version we are
>> running:  ln -s /usr/local/lib/libgnutls.so.28 /usr/lib/libgnutls.so.28
>> After, to create my extension, I followed this tutorial
>> (http://gnutls.org/manual/html_node/TLS-Extension-Handling.html), for
>> compilation I did these commands:
> You miss to describe the important part. What did you add in
> Makefile.am? Did you run autoreconf after modifying hooks.m4?
>
> regards,
> Nikos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140707/3cc4e3dc/attachment.html>


More information about the Gnutls-devel mailing list