summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-04-14 19:26:29 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-04-14 19:26:29 +0000
commitaa1989a56cc8e473bd3d7cd828eed4bb38b6867b (patch)
tree5778c6e4ee53ef9fe8eeaf980a9a2e6fbbc04e02
parentf17ee525e9a449fc31b9f5ac5c7d42f606f2b377 (diff)
downloadgnutls-aa1989a56cc8e473bd3d7cd828eed4bb38b6867b.tar.gz
Fixed description of gnutls_x509_extract_certificate_subject_alt_name().
-rw-r--r--lib/gnutls_x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index 3782cd9e10..35aa118a95 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -479,10 +479,10 @@ static GNUTLS_X509_SUBJECT_ALT_NAME _find_type( char* str_type) {
* gnutls_x509_extract_certificate_subject_alt_name - This function returns the peer's alt name, if any
* @cert: should contain an X.509 DER encoded certificate
* @seq: specifies the sequence number of the alt name (0 for the first one, 1 for the second etc.)
- * @ret: is the place where dns name will be copied to
+ * @ret: is the place where the alternative name will be copied to
* @ret_size: holds the size of ret.
*
- * This function will return the alternative name (the dns part of it), contained in the
+ * This function will return the alternative names, contained in the
* given certificate.
*
* This is specified in X509v3 Certificate Extensions.