summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-04-22 13:41:17 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-04-22 13:41:17 +0200
commitc7899cb647712273a31c91edb75c7653e8e17066 (patch)
tree688e64f68e9d66b69f4ea33c3a26c6e19687b235
parentb31d7475373e6446da064666e884526912f09d33 (diff)
downloadgnutls-c7899cb647712273a31c91edb75c7653e8e17066.tar.gz
fixed doc: reported by Anton Lavrentiev
-rw-r--r--lib/gnutls_cert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c
index 9d32f1d5be..c8776b5a91 100644
--- a/lib/gnutls_cert.c
+++ b/lib/gnutls_cert.c
@@ -323,7 +323,7 @@ gnutls_certificate_server_set_request(gnutls_session_t session,
* int (*callback)(gnutls_session_t, const gnutls_datum_t* req_ca_dn, int nreqs,
* const gnutls_pk_algorithm_t* pk_algos, int pk_algos_length, gnutls_retr2_st* st);
*
- * @req_ca_cert is only used in X.509 certificates.
+ * @req_ca_dn is only used in X.509 certificates.
* Contains a list with the CA names that the server considers trusted.
* Normally we should send a certificate that is signed
* by one of these CAs. These names are DER encoded. To get a more
@@ -365,7 +365,7 @@ void gnutls_certificate_set_retrieve_function
* const gnutls_pk_algorithm_t* pk_algos, int pk_algos_length, gnutls_pcert_st** pcert,
* unsigned int *pcert_length, gnutls_privkey_t * pkey);
*
- * @req_ca_cert is only used in X.509 certificates.
+ * @req_ca_dn is only used in X.509 certificates.
* Contains a list with the CA names that the server considers trusted.
* Normally we should send a certificate that is signed
* by one of these CAs. These names are DER encoded. To get a more
@@ -374,7 +374,7 @@ void gnutls_certificate_set_retrieve_function
* @pk_algos contains a list with server's acceptable signature algorithms.
* The certificate returned should support the server's given algorithms.
*
- * @pcert should contain a single certificate and public or a list of them.
+ * @pcert should contain a single certificate and public key or a list of them.
*
* @pcert_length is the size of the previous list.
*