summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)