]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
more doc for the gnutls_set_dh_prime_bits().
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 30 Jan 2003 20:36:44 +0000 (20:36 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 30 Jan 2003 20:36:44 +0000 (20:36 +0000)
lib/gnutls_ui.c

index 8184d2916a5c29f9924d116a1bbebb74018ad7d0..38a82443484778dd9dd05c8f167ef4f6e6815599 100644 (file)
   * DH anonymous cipher suites. This will set the
   * minimum size of the prime that 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.
+  *
   **/
 void gnutls_dh_set_prime_bits(gnutls_session session, int bits)
 {