From: Nikos Mavrogiannopoulos Date: Thu, 30 Jan 2003 20:36:44 +0000 (+0000) Subject: more doc for the gnutls_set_dh_prime_bits(). X-Git-Tag: gnutls_0_8_3~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=69ae0b5e4cea86988f4e99e8ea68f2330673e92d;p=thirdparty%2Fgnutls.git more doc for the gnutls_set_dh_prime_bits(). --- diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index 8184d2916a..38a8244348 100644 --- a/lib/gnutls_ui.c +++ b/lib/gnutls_ui.c @@ -43,6 +43,11 @@ * 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) {