diff options
author | Nikos Mavrogiannopoulos <nmav@crystal.(none)> | 2008-11-03 21:53:04 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@crystal.(none)> | 2008-11-03 21:53:04 +0200 |
commit | 2392cd90341a0b1daa1be103f6372b822bdb0cf4 (patch) | |
tree | 2340f199b8ba2d367ace21858484a063f705acfe /lib/gnutls_ui.c | |
parent | 2d2031bef280913e3ce3de173b03cbc01e2f2590 (diff) | |
download | gnutls-2392cd90341a0b1daa1be103f6372b822bdb0cf4.tar.gz |
documented that gnutls_dh_set_prime_bits() has no effect in server side.
Diffstat (limited to 'lib/gnutls_ui.c')
-rw-r--r-- | lib/gnutls_ui.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) |