[gnutls-devel] tests invoke gnutls_dh_set_prime_bits on servers

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat Nov 2 08:42:02 CET 2013

On 11/01/2013 01:15 AM, Daniel Kahn Gillmor wrote:
> the docs for gnutls_dh_set_prime_bits say "The function has no effect in
> server side."
> but src/benchmark-tls.c and several files matching tests/*.c all invoke
> something like:
>   gnutls_dh_set_prime_bits (server, 1024);
> this seems like a possible bug, unless that gnutls_session_t server is
> somehow elsewhere being used as a client.  should those invocations be
> removed?

Thanks, I've now removed them. It looks like a copy & paste error.


More information about the Gnutls-devel mailing list