summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-06 15:40:14 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-06 15:40:16 +0200
commit66b8796c8fa5432e4729c1b28e8ed669d4086847 (patch)
treedbf2f9a10db7ec3b3fdc159c6904ac3a06f83cce
parenta2ce0b1f428772b1dd97a160e498c6fb7cd319de (diff)
downloadgnutls-66b8796c8fa5432e4729c1b28e8ed669d4086847.tar.gz
doc: fixed documentation of gnutls_x509_crt_set_subject_alternative_name
The previous version could not be parsed by gdoc.
-rw-r--r--lib/x509/x509_write.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/x509/x509_write.c b/lib/x509/x509_write.c
index 096923b566..1fee842c83 100644
--- a/lib/x509/x509_write.c
+++ b/lib/x509/x509_write.c
@@ -577,17 +577,10 @@ gnutls_x509_crt_set_subject_alternative_name(gnutls_x509_crt_t crt,
* @flags: GNUTLS_FSAN_SET to clear previous data or GNUTLS_FSAN_APPEND to append.
*
* This function will set the subject alternative name certificate
- * extension. It can set the following types:
- *
- * %GNUTLS_SAN_DNSNAME: as a text string
- *
- * %GNUTLS_SAN_RFC822NAME: as a text string
- *
- * %GNUTLS_SAN_URI: as a text string
- *
- * %GNUTLS_SAN_IPADDRESS: as a binary IP address (4 or 16 bytes)
- *
- * %GNUTLS_SAN_OTHERNAME_XMPP: as a UTF8 string (since 3.5.0)
+ * extension. It can set the following types: %GNUTLS_SAN_DNSNAME as a text string,
+ * %GNUTLS_SAN_RFC822NAME as a text string, %GNUTLS_SAN_URI as a text string,
+ * %GNUTLS_SAN_IPADDRESS as a binary IP address (4 or 16 bytes),
+ * %GNUTLS_SAN_OTHERNAME_XMPP as a UTF8 string (since 3.5.0).
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
* negative error value.