summaryrefslogtreecommitdiff
path: root/libextra
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-05-22 22:07:56 +0200
committerSimon Josefsson <simon@josefsson.org>2010-05-22 22:07:56 +0200
commitc57f051d829a7e2c02e1ba2e82ed6af586589170 (patch)
tree7f9b947cd3095214cd45df4f853c8e18343b84dc /libextra
parent857ee3192c075020b5c65587ba49bc28f0ab0ed1 (diff)
downloadgnutls-c57f051d829a7e2c02e1ba2e82ed6af586589170.tar.gz
Doc fixes.
Diffstat (limited to 'libextra')
-rw-r--r--libextra/includes/gnutls/openssl.h10
-rw-r--r--libextra/openssl_compat.c3
2 files changed, 5 insertions, 8 deletions
diff --git a/libextra/includes/gnutls/openssl.h b/libextra/includes/gnutls/openssl.h
index 98548c6d32..be326f0c14 100644
--- a/libextra/includes/gnutls/openssl.h
+++ b/libextra/includes/gnutls/openssl.h
@@ -24,12 +24,12 @@
/* WARNING: Error functions aren't currently thread-safe */
-/* This file contains prototypes about the OPENSSL compatibility
- * layer in GNUTLS. GNUTLS is not a replacement of OPENSSL so
- * this compatibility layer only support limited OPENSSL functionality.
+/* This file contains prototypes about the OpenSSL compatibility layer
+ * in GnuTLS. GnuTLS is not a complete replacement of OPENSSL so this
+ * compatibility layer only support limited OpenSSL functionality.
*
- * New programs should avoid using this compatibility layer, and
- * use the native GNUTLS API.
+ * New programs should avoid using this compatibility layer, and use
+ * the native GnuTLS API directly.
*/
#ifndef GNUTLS_OPENSSL_H
diff --git a/libextra/openssl_compat.c b/libextra/openssl_compat.c
index 10bf458bea..5c5ae02f4a 100644
--- a/libextra/openssl_compat.c
+++ b/libextra/openssl_compat.c
@@ -249,9 +249,6 @@ gnutls_x509_extract_certificate_issuer_dn (const gnutls_datum_t * cert,
* This function will return the alternative names, contained in the
* given certificate.
*
- * This is specified in X509v3 Certificate Extensions.
- * GNUTLS will return the Alternative name, or a negative
- * error code.
* Returns GNUTLS_E_SHORT_MEMORY_BUFFER if ret_size is not enough to hold the alternative
* name, or the type of alternative name if everything was ok. The type is
* one of the enumerated GNUTLS_X509_SUBJECT_ALT_NAME.