[gnutls-devel] tests invoke gnutls_dh_set_prime_bits on servers
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Nov 1 01:15:53 CET 2013
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?
--dkg
More information about the Gnutls-devel
mailing list