summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-27 10:26:18 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-27 10:26:18 +0100
commitdc49ff75c9ce7b44abcd032631d7ccaa9abdf22a (patch)
treec9ccc0b5c27561253da9972983ea752724e37811
parentd763f1b33d8273b5bfaafe43865849c71086607d (diff)
downloadgnutls-dc49ff75c9ce7b44abcd032631d7ccaa9abdf22a.tar.gz
fixed gdoc documentation
-rw-r--r--lib/ext/status_request.c2
-rw-r--r--lib/x509/crl.c2
-rw-r--r--lib/x509/crq.c4
-rw-r--r--lib/x509/x509.c2
-rw-r--r--lib/x509/x509_write.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/lib/ext/status_request.c b/lib/ext/status_request.c
index 4cbc490462..8a542ca901 100644
--- a/lib/ext/status_request.c
+++ b/lib/ext/status_request.c
@@ -422,7 +422,7 @@ static int file_ocsp_func(gnutls_session_t session, void *ptr,
/**
* gnutls_certificate_set_ocsp_status_request_file:
- * @session: is a #gnutls_session_t structure.
+ * @sc: is a credentials structure.
* @response_file: a filename of the OCSP response
* @flags: should be zero
*
diff --git a/lib/x509/crl.c b/lib/x509/crl.c
index ab6600dc85..10a52ddec2 100644
--- a/lib/x509/crl.c
+++ b/lib/x509/crl.c
@@ -270,7 +270,7 @@ gnutls_x509_crl_get_dn_oid(gnutls_x509_crl_t crl,
/**
* gnutls_x509_crl_get_issuer_dn2:
- * @cert: should contain a #gnutls_x509_crt_t structure
+ * @crl: should contain a #gnutls_x509_crl_t structure
* @dn: a pointer to a structure to hold the name
*
* This function will allocate buffer and copy the name of the CRL issuer.
diff --git a/lib/x509/crq.c b/lib/x509/crq.c
index b73c6bf694..fccc2c00a4 100644
--- a/lib/x509/crq.c
+++ b/lib/x509/crq.c
@@ -161,7 +161,7 @@ gnutls_x509_crq_import(gnutls_x509_crq_t crq,
/**
* gnutls_x509_crq_get_private_key_usage_period:
- * @cert: should contain a #gnutls_x509_crq_t structure
+ * @crq: should contain a #gnutls_x509_crq_t structure
* @activation: The activation time
* @expiration: The expiration time
* @critical: the extension status
@@ -1499,7 +1499,7 @@ gnutls_x509_crq_get_extension_data(gnutls_x509_crq_t crq, int indx,
/**
* gnutls_x509_crq_get_extension_data2:
- * @cert: should contain a #gnutls_x509_crq_t structure
+ * @crq: should contain a #gnutls_x509_crq_t structure
* @extension_id: An X.509 extension OID.
* @indx: Specifies which extension OID to read. Use (0) to get the first one.
* @data: will contain the extension DER-encoded data
diff --git a/lib/x509/x509.c b/lib/x509/x509.c
index 8b1f0172a1..3912aa93ed 100644
--- a/lib/x509/x509.c
+++ b/lib/x509/x509.c
@@ -1791,7 +1791,7 @@ void gnutls_x509_policy_release(struct gnutls_x509_policy_st *policy)
/**
* gnutls_x509_crt_get_policy:
- * @cert: should contain a #gnutls_x509_crt_t structure
+ * @crt: should contain a #gnutls_x509_crt_t structure
* @indx: This specifies which policy to return. Use (0) to get the first one.
* @policy: A pointer to a policy structure.
* @critical: will be non-zero if the extension is marked as critical
diff --git a/lib/x509/x509_write.c b/lib/x509/x509_write.c
index c6a43bc628..e450fad186 100644
--- a/lib/x509/x509_write.c
+++ b/lib/x509/x509_write.c
@@ -1527,7 +1527,7 @@ gnutls_x509_crt_set_authority_info_access(gnutls_x509_crt_t crt,
/**
* gnutls_x509_crt_set_policy:
- * @cert: should contain a #gnutls_x509_crt_t structure
+ * @crt: should contain a #gnutls_x509_crt_t structure
* @policy: A pointer to a policy structure.
* @critical: use non-zero if the extension is marked as critical
*