summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-11-14 17:39:36 +0100
committerSimon Josefsson <simon@josefsson.org>2007-11-14 17:39:36 +0100
commit790148200b0e4111c7e87d304346fd8231c9b2f1 (patch)
treeb293f170ed874eead96d756f116fec1a2b8c5362
parentb4df7b8e07aa8bd6a7e830b344d578c78bd404a3 (diff)
downloadgnutls-790148200b0e4111c7e87d304346fd8231c9b2f1.tar.gz
Doc fix.
-rw-r--r--lib/gnutls_x509.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index 4c0c347b62..e9005a9515 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -1354,18 +1354,18 @@ gnutls_certificate_set_x509_trust (gnutls_certificate_credentials_t res,
* @cafile: is a file containing the list of trusted CAs (DER or PEM list)
* @type: is PEM or DER
*
- * This function adds the trusted CAs in order to verify client
- * or server certificates. In case of a client this is not required
- * to be called if the certificates are not verified using
- * gnutls_certificate_verify_peers2().
- * This function may be called multiple times.
+ * This function adds the trusted CAs in order to verify client or
+ * server certificates. In case of a client this is not required to
+ * be called if the certificates are not verified using
+ * gnutls_certificate_verify_peers2(). This function may be called
+ * multiple times.
*
- * In case of a server the names of the CAs set here will be sent to the
- * client if a certificate request is sent. This can be disabled using
- * gnutls_certificate_send_x509_rdn_sequence().
+ * In case of a server the names of the CAs set here will be sent to
+ * the client if a certificate request is sent. This can be disabled
+ * using gnutls_certificate_send_x509_rdn_sequence().
*
- * Returns the number of certificates processed or a negative
- * value on error.
+ * Returns: number of certificates processed, or a negative value on
+ * error.
**/
int
gnutls_certificate_set_x509_trust_file (gnutls_certificate_credentials_t
@@ -1577,13 +1577,13 @@ read_crl_mem (gnutls_certificate_credentials_t res, const void *crl,
* @CRL: is a list of trusted CRLs. They should have been verified before.
* @type: is DER or PEM
*
- * This function adds the trusted CRLs in order to verify client or server
- * certificates. In case of a client this is not required
- * to be called if the certificates are not verified using
- * gnutls_certificate_verify_peers2().
- * This function may be called multiple times.
+ * This function adds the trusted CRLs in order to verify client or
+ * server certificates. In case of a client this is not required to
+ * be called if the certificates are not verified using
+ * gnutls_certificate_verify_peers2(). This function may be called
+ * multiple times.
*
- * Returns the number of CRLs processed or a negative value on error.
+ * Returns: number of CRLs processed, or a negative value on error.
**/
int
gnutls_certificate_set_x509_crl_mem (gnutls_certificate_credentials_t