From: Nikos Mavrogiannopoulos Date: Mon, 3 Nov 2008 19:53:04 +0000 (+0200) Subject: documented that gnutls_dh_set_prime_bits() has no effect in server side. X-Git-Tag: gnutls_2_7_2~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2392cd90341a0b1daa1be103f6372b822bdb0cf4;p=thirdparty%2Fgnutls.git documented that gnutls_dh_set_prime_bits() has no effect in server side. --- diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index 4dada11043..17b9ad3aca 100644 --- a/lib/gnutls_ui.c +++ b/lib/gnutls_ui.c @@ -46,11 +46,14 @@ * This function sets the number of bits, for use in an Diffie Hellman * key exchange. This is used both in DH ephemeral and DH anonymous * cipher suites. This will set the minimum size of the prime that - * will be used for the handshake. + * will be used for the handshake. * * In the client side it sets the minimum accepted number of bits. If * a server sends a prime with less bits than that * %GNUTLS_E_DH_PRIME_UNACCEPTABLE will be returned by the handshake. + * + * This function has no effect in server side. + * **/ void gnutls_dh_set_prime_bits (gnutls_session_t session, unsigned int bits)