From: Nikos Mavrogiannopoulos Date: Sat, 29 May 2010 10:22:52 +0000 (+0200) Subject: documentation updates X-Git-Tag: gnutls_2_11_3~230 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab307930167bc836495455adc9bdec4472ef60d5;p=thirdparty%2Fgnutls.git documentation updates --- diff --git a/lib/gnutls_dh_primes.c b/lib/gnutls_dh_primes.c index 5bc53bfa80..194de232c3 100644 --- a/lib/gnutls_dh_primes.c +++ b/lib/gnutls_dh_primes.c @@ -50,9 +50,6 @@ _gnutls_dh_params_to_mpi (gnutls_dh_params_t dh_primes) } -/* Replaces the prime in the static DH parameters, with a randomly - * generated one. - */ /** * gnutls_dh_params_import_raw: * @dh_params: Is a structure that will hold the prime numbers @@ -178,7 +175,8 @@ gnutls_dh_params_cpy (gnutls_dh_params_t dst, gnutls_dh_params_t src) * gnutls_malloc() and will be stored in the appropriate datum. * This function is normally slow. * - * Note that the bits value should be one of 768, 1024, 2048, 3072 or 4096. + * Do not set the number of bits directly, use gnutls_sec_param_to_pk_bits() to + * get bits for %GNUTLS_PK_DSA. * Also note that the DH parameters are only useful to servers. * Since clients use the parameters sent by the server, it's of * no use to call this in client side.