gnutls-devel
[Top][All Lists]
Advanced

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

Re: Bug in _add_priority adds duplicates and unwanted algorithms.


From: Nikos Mavrogiannopoulos
Subject: Re: Bug in _add_priority adds duplicates and unwanted algorithms.
Date: Thu, 15 Nov 2012 23:51:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10

On 11/15/2012 07:57 PM, Tim Kosse wrote:

> Hi,
> 
> when setting a priority string of SECURE256:+SECURE128, I noticed that on 
> some platforms, 3DES was included in the list of ciphers, but is lacking on 
> most platforms. Notably, MinGW cross-compiles with -O2 are affected.
> The problem is in _add_priority in gnutls_priority.c, where the continue 
> statement in the inner loop should have instead returned to the beginning of 
> the outer loop. The result is that ciphers are added multiple times and 
> depending what$
> These two patches fix the problem and also enable the print-ciphersuites 
> example to be built by default.


Thanks, both are applied. For the print-ciphersuites, you could do the
same using gnutls-cli. (and the options -l and --priority XXX).

regards,
Nikos



reply via email to

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