summaryrefslogtreecommitdiff
path: root/lib/gnutls_ui.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@crystal.(none)>2008-11-03 21:53:04 +0200
committerNikos Mavrogiannopoulos <nmav@crystal.(none)>2008-11-03 21:53:04 +0200
commit2392cd90341a0b1daa1be103f6372b822bdb0cf4 (patch)
tree2340f199b8ba2d367ace21858484a063f705acfe /lib/gnutls_ui.c
parent2d2031bef280913e3ce3de173b03cbc01e2f2590 (diff)
downloadgnutls-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.c5
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)