summaryrefslogtreecommitdiff
path: root/lib/x509/pkcs7.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-02-06 14:13:39 +0000
committerSimon Josefsson <simon@josefsson.org>2005-02-06 14:13:39 +0000
commit0fa6dc21e87feeed2fdcd4e4fa587403bab2f34f (patch)
treec00402d5bdb86ebf491000b7e7fd6e37faecd0ea /lib/x509/pkcs7.c
parent3745d5b992a5f01f970b5abde35bc5e3ac80cc50 (diff)
downloadgnutls-0fa6dc21e87feeed2fdcd4e4fa587403bab2f34f.tar.gz
Doc fix.
Diffstat (limited to 'lib/x509/pkcs7.c')
-rw-r--r--lib/x509/pkcs7.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/x509/pkcs7.c b/lib/x509/pkcs7.c
index 3d01faedf7..29c8d1dd96 100644
--- a/lib/x509/pkcs7.c
+++ b/lib/x509/pkcs7.c
@@ -389,18 +389,20 @@ int gnutls_pkcs7_get_crt_count(gnutls_pkcs7_t pkcs7)
* @pkcs7: Holds the pkcs7 structure
* @format: the format of output params. One of PEM or DER.
* @output_data: will contain a structure PEM or DER encoded
- * @output_data_size: holds the size of output_data (and will be replaced by the actual size of parameters)
+ * @output_data_size: holds the size of output_data (and will be
+ * replaced by the actual size of parameters)
*
* This function will export the pkcs7 structure to DER or PEM format.
*
* If the buffer provided is not long enough to hold the output, then
- * &output_data_size is updated and GNUTLS_E_SHORT_MEMORY_BUFFER will be returned.
+ * *output_data_size is updated and GNUTLS_E_SHORT_MEMORY_BUFFER will
+ * be returned.
*
* If the structure is PEM encoded, it will have a header
* of "BEGIN PKCS7".
*
- * In case of failure a negative value will be returned, and
- * 0 on success.
+ * Return value: In case of failure a negative value will be
+ * returned, and 0 on success.
*
**/
int gnutls_pkcs7_export(gnutls_pkcs7_t pkcs7,