summaryrefslogtreecommitdiff
path: root/lib/gnutls_dh_primes.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-27 16:16:57 +0300
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-07-23 14:10:44 +0200
commita6975081adb6a420ae499b4df0b211c9b3f16f91 (patch)
treecd818a46b9aa8fda15f6d8781444b2a9627a5083 /lib/gnutls_dh_primes.c
parente04f3fa37f950f91b4280f32687e9a47b8bf5828 (diff)
downloadgnutls-a6975081adb6a420ae499b4df0b211c9b3f16f91.tar.gz
documentation fixes
Diffstat (limited to 'lib/gnutls_dh_primes.c')
-rw-r--r--lib/gnutls_dh_primes.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/gnutls_dh_primes.c b/lib/gnutls_dh_primes.c
index 511a235c86..4e7fa0369d 100644
--- a/lib/gnutls_dh_primes.c
+++ b/lib/gnutls_dh_primes.c
@@ -58,8 +58,8 @@ _gnutls_dh_params_to_mpi (gnutls_dh_params_t dh_primes)
* in the Diffie-Hellman key exchange. The new parameters should be
* stored in the appropriate gnutls_datum.
*
- * Returns: On success, %GNUTLS_E_SUCCESS (zero) is returned,
- * otherwise an error code is returned.
+ * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
+ * otherwise a negative error code is returned.
**/
int
gnutls_dh_params_import_raw (gnutls_dh_params_t dh_params,
@@ -99,8 +99,8 @@ gnutls_dh_params_import_raw (gnutls_dh_params_t dh_params,
*
* This function will initialize the DH parameters structure.
*
- * Returns: On success, %GNUTLS_E_SUCCESS (zero) is returned,
- * otherwise an error code is returned.
+ * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
+ * otherwise a negative error code is returned.
**/
int
gnutls_dh_params_init (gnutls_dh_params_t * dh_params)
@@ -144,8 +144,8 @@ gnutls_dh_params_deinit (gnutls_dh_params_t dh_params)
* This function will copy the DH parameters structure from source
* to destination.
*
- * Returns: On success, %GNUTLS_E_SUCCESS (zero) is returned,
- * otherwise an error code is returned.
+ * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
+ * otherwise a negative error code is returned.
**/
int
gnutls_dh_params_cpy (gnutls_dh_params_t dst, gnutls_dh_params_t src)
@@ -179,8 +179,8 @@ gnutls_dh_params_cpy (gnutls_dh_params_t dst, gnutls_dh_params_t src)
* Since clients use the parameters sent by the server, it's of
* no use to call this in client side.
*
- * Returns: On success, %GNUTLS_E_SUCCESS (zero) is returned,
- * otherwise an error code is returned.
+ * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
+ * otherwise a negative error code is returned.
**/
int
gnutls_dh_params_generate2 (gnutls_dh_params_t params, unsigned int bits)
@@ -213,8 +213,8 @@ gnutls_dh_params_generate2 (gnutls_dh_params_t params, unsigned int bits)
* If the structure is PEM encoded, it should have a header
* of "BEGIN DH PARAMETERS".
*
- * Returns: On success, %GNUTLS_E_SUCCESS (zero) is returned,
- * otherwise an error code is returned.
+ * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
+ * otherwise a negative error code is returned.
**/
int
gnutls_dh_params_import_pkcs3 (gnutls_dh_params_t params,
@@ -325,8 +325,8 @@ gnutls_dh_params_import_pkcs3 (gnutls_dh_params_t params,
* If the structure is PEM encoded, it will have a header
* of "BEGIN DH PARAMETERS".
*
- * Returns: On success, %GNUTLS_E_SUCCESS (zero) is returned,
- * otherwise an error code is returned.
+ * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
+ * otherwise a negative error code is returned.
**/
int
gnutls_dh_params_export_pkcs3 (gnutls_dh_params_t params,
@@ -499,8 +499,8 @@ gnutls_dh_params_export_pkcs3 (gnutls_dh_params_t params,
* allocated using gnutls_malloc() and will be stored in the
* appropriate datum.
*
- * Returns: On success, %GNUTLS_E_SUCCESS (zero) is returned,
- * otherwise an error code is returned.
+ * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
+ * otherwise a negative error code is returned.
**/
int
gnutls_dh_params_export_raw (gnutls_dh_params_t params,