emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 583995c: GnuTLS HMAC and symmetric cipher support


From: Paul Eggert
Subject: Re: master 583995c: GnuTLS HMAC and symmetric cipher support
Date: Tue, 18 Jul 2017 13:44:14 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Glenn Morris wrote:
I was using ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.21.tar.xz

Weird, because I was looking at the same source code. It does not build under recent Ubuntu or Fedora, so I did not compile it: I just looked at the source code. Its implementation of gnutls_cipher_list appears to be straightforward: it adds only values found as the 'id' component of an entry in the 'algorithms' array in lib/algorithms/ciphers.c. None of these values are GNUTLS_CIPHER_UNKNOWN, so gnutls_cipher_list cannot possibly return an array containing GNUTLS_CIPHER_UNKNOWN.

For example, on my platform, if I compile and run the attached program via:

gcc gs.c -lgnutls
./a.out

the program silently succeeds. What happens on your platform?

Attachment: gs.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]