]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
documented that gnutls_dh_set_prime_bits() has no effect in server side.
authorNikos Mavrogiannopoulos <nmav@crystal.(none)>
Mon, 3 Nov 2008 19:53:04 +0000 (21:53 +0200)
committerNikos Mavrogiannopoulos <nmav@crystal.(none)>
Mon, 3 Nov 2008 19:53:04 +0000 (21:53 +0200)
lib/gnutls_ui.c

index 4dada11043e9d1d2437195fd26a95963679bd7d1..17b9ad3aca0c016403ba5bacb4e81a1e7392b25b 100644 (file)
  * 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)