summaryrefslogtreecommitdiff
path: root/lib/x509/dn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/dn.c')
-rw-r--r--lib/x509/dn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/x509/dn.c b/lib/x509/dn.c
index fa35388485..04ae1825b2 100644
--- a/lib/x509/dn.c
+++ b/lib/x509/dn.c
@@ -816,9 +816,8 @@ gnutls_x509_rdn_get(const gnutls_datum_t * idn,
/**
* gnutls_x509_rdn_get2:
* @idn: should contain a DER encoded RDN sequence
- * @buf: a pointer to a structure to hold the peer's name
- * @buf_size: holds the size of @buf
- * @flags:
+ * @str: a datum that will hold the name
+ * @flags: zero of %GNUTLS_X509_DN_FLAG_COMPAT
*
* This function will return the name of the given RDN sequence. The
* name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as described in