summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2016-06-18 18:36:13 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-06-19 10:12:27 +0200
commit5635c4d827245797c297d4767ba1599b806ce6f5 (patch)
tree58320fb6f4ae7bf2db229af67df7edd27b5db9ac
parentaa1627b945ef7dc1902e582d38eacffc24cede5e (diff)
downloadgnutls-5635c4d827245797c297d4767ba1599b806ce6f5.tar.gz
Typo fixes (found by lintian): extention, reencode
-rw-r--r--lib/x509/crq.c2
-rw-r--r--lib/x509/tls_features.c8
-rw-r--r--lib/x509/x509.c4
-rw-r--r--lib/x509/x509_ext.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/x509/crq.c b/lib/x509/crq.c
index 88f1b7514d..32e2b5ab30 100644
--- a/lib/x509/crq.c
+++ b/lib/x509/crq.c
@@ -2986,7 +2986,7 @@ int gnutls_x509_crq_get_tlsfeatures(gnutls_x509_crq_t crq,
* request.
*
* This function will set the certificate request's
- * X.509 TLS extention from the given structure.
+ * X.509 TLS extension from the given structure.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
* otherwise a negative error value.
diff --git a/lib/x509/tls_features.c b/lib/x509/tls_features.c
index 8a35b6fd78..b28e8ac8bb 100644
--- a/lib/x509/tls_features.c
+++ b/lib/x509/tls_features.c
@@ -38,7 +38,7 @@
* gnutls_x509_tlsfeatures_init:
* @f: The TLS features
*
- * This function will initialize a X.509 TLS features extention structure
+ * This function will initialize a X.509 TLS features extension structure
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
* otherwise a negative error value.
@@ -58,7 +58,7 @@ int gnutls_x509_tlsfeatures_init(gnutls_x509_tlsfeatures_t *f)
* gnutls_x509_tlsfeatures_deinit:
* @f: The TLS features
*
- * This function will deinitialize a X.509 TLS features extention structure
+ * This function will deinitialize a X.509 TLS features extension structure
*
* Since: 3.5.1
**/
@@ -74,7 +74,7 @@ void gnutls_x509_tlsfeatures_deinit(gnutls_x509_tlsfeatures_t f)
* @feature: If the function succeeds, the feature will be stored in this variable
*
* This function will get a feature from the X.509 TLS features
- * extention structure.
+ * extension structure.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
* otherwise a negative error value.
@@ -165,7 +165,7 @@ int gnutls_x509_crt_get_tlsfeatures(gnutls_x509_crt_t crt,
* features will be added to the certificate.
*
* This function will set the certificates
- * X.509 TLS extention from the given structure.
+ * X.509 TLS extension from the given structure.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
* otherwise a negative error value.
diff --git a/lib/x509/x509.c b/lib/x509/x509.c
index 910665d085..da80ff335f 100644
--- a/lib/x509/x509.c
+++ b/lib/x509/x509.c
@@ -89,7 +89,7 @@ unsigned gnutls_x509_crt_equals(gnutls_x509_crt_t cert1,
cert1->modified != 0 || cert2->modified != 0) {
gnutls_datum_t tmp1, tmp2;
- /* on uninitialized or modified certificates, we have to-reencode */
+ /* on uninitialized or modified certificates, we have to re-encode */
ret =
gnutls_x509_crt_export2(cert1, GNUTLS_X509_FMT_DER, &tmp1);
if (ret < 0)
@@ -143,7 +143,7 @@ gnutls_x509_crt_equals2(gnutls_x509_crt_t cert1,
gnutls_datum_t tmp1;
int ret;
- /* on uninitialized or modified certificates, we have to-reencode */
+ /* on uninitialized or modified certificates, we have to re-encode */
ret =
gnutls_x509_crt_export2(cert1, GNUTLS_X509_FMT_DER, &tmp1);
if (ret < 0)
diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c
index f3c6342ad6..4e9af34bed 100644
--- a/lib/x509/x509_ext.c
+++ b/lib/x509/x509_ext.c
@@ -3325,7 +3325,7 @@ int gnutls_x509_ext_export_tlsfeatures(gnutls_x509_tlsfeatures_t f,
* @feature: The feature to add
*
* This function will append a feature to the X.509 TLS features
- * extention structure.
+ * extension structure.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
* otherwise a negative error value.