summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2016-01-31 17:59:37 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-02-01 11:53:46 +0100
commitc479799cb30d9c0951dd225d252b2e9de7646224 (patch)
treefd029346540be1a04070163d246b62bbc75099c8
parenta912e666cc53c1289b567c2217964e93c3786508 (diff)
downloadgnutls-c479799cb30d9c0951dd225d252b2e9de7646224.tar.gz
Fix some more typos.
certifcate, funtion, withing, missmatch
-rw-r--r--lib/openpgp/openpgp.c10
-rw-r--r--lib/pubkey.c2
-rw-r--r--lib/x509/pkcs12_bag.c2
-rw-r--r--lib/x509/x509.c2
-rw-r--r--lib/x509/x509_ext.c2
-rw-r--r--src/certtool-cfg.c2
6 files changed, 10 insertions, 10 deletions
diff --git a/lib/openpgp/openpgp.c b/lib/openpgp/openpgp.c
index d2f69335d8..68cf932d26 100644
--- a/lib/openpgp/openpgp.c
+++ b/lib/openpgp/openpgp.c
@@ -339,7 +339,7 @@ gnutls_openpgp_get_key(gnutls_datum_t * key,
* @key: the datum that contains the secret key.
* @format: the format of the keys
*
- * This funtion is used to load OpenPGP keys into the GnuTLS credential
+ * This function is used to load OpenPGP keys into the GnuTLS credential
* structure. The datum should contain at least one valid non encrypted subkey.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
@@ -362,7 +362,7 @@ gnutls_certificate_set_openpgp_key_mem(gnutls_certificate_credentials_t
* @keyfile: the file that contains the secret key.
* @format: the format of the keys
*
- * This funtion is used to load OpenPGP keys into the GnuTLS
+ * This function is used to load OpenPGP keys into the GnuTLS
* credentials structure. The file should contain at least one valid non encrypted subkey.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
@@ -412,7 +412,7 @@ static int get_keyid(gnutls_openpgp_keyid_t keyid, const char *str)
* @subkey_id: a hex encoded subkey id
* @format: the format of the keys
*
- * This funtion is used to load OpenPGP keys into the GnuTLS
+ * This function is used to load OpenPGP keys into the GnuTLS
* credentials structure. The datum should contain at least one valid non encrypted subkey.
*
* The special keyword "auto" is also accepted as @subkey_id. In that
@@ -509,7 +509,7 @@ gnutls_certificate_set_openpgp_key_mem2(gnutls_certificate_credentials_t
* @subkey_id: a hex encoded subkey id
* @format: the format of the keys
*
- * This funtion is used to load OpenPGP keys into the GnuTLS credential
+ * This function is used to load OpenPGP keys into the GnuTLS credential
* structure. The file should contain at least one valid non encrypted subkey.
*
* The special keyword "auto" is also accepted as @subkey_id. In that
@@ -752,7 +752,7 @@ _gnutls_openpgp_request_key(gnutls_session_t session, gnutls_datum_t * ret,
* @session: a TLS session
* @func: the callback
*
- * This funtion will set a key retrieval function for OpenPGP keys. This
+ * This function will set a key retrieval function for OpenPGP keys. This
* callback is only useful in server side, and will be used if the peer
* sent a key fingerprint instead of a full key.
*
diff --git a/lib/pubkey.c b/lib/pubkey.c
index 02b3db24e2..42bf4e5d50 100644
--- a/lib/pubkey.c
+++ b/lib/pubkey.c
@@ -256,7 +256,7 @@ gnutls_pubkey_import_privkey(gnutls_pubkey_t key, gnutls_privkey_t pkey,
* @hash: The result of the call with the hash algorithm used for signature
* @mand: If non zero it means that the algorithm MUST use this hash. May be NULL.
*
- * This function will read the certifcate and return the appropriate digest
+ * This function will read the certificate and return the appropriate digest
* algorithm to use for signing with this certificate. Some certificates (i.e.
* DSA might not be able to sign without the preferred algorithm).
*
diff --git a/lib/x509/pkcs12_bag.c b/lib/x509/pkcs12_bag.c
index 480e13b6d6..5bf0da7eed 100644
--- a/lib/x509/pkcs12_bag.c
+++ b/lib/x509/pkcs12_bag.c
@@ -110,7 +110,7 @@ gnutls_pkcs12_bag_get_type(gnutls_pkcs12_bag_t bag, int indx)
* gnutls_pkcs12_bag_get_count:
* @bag: The bag
*
- * This function will return the number of the elements withing the bag.
+ * This function will return the number of the elements within the bag.
*
* Returns: Number of elements in bag, or an negative error code on
* error.
diff --git a/lib/x509/x509.c b/lib/x509/x509.c
index 0bf6ec2b9e..a3cf7dfa64 100644
--- a/lib/x509/x509.c
+++ b/lib/x509/x509.c
@@ -2843,7 +2843,7 @@ gnutls_x509_crt_check_revocation(gnutls_x509_crt_t cert,
* @hash: The result of the call with the hash algorithm used for signature
* @mand: If non-zero it means that the algorithm MUST use this hash. May be NULL.
*
- * This function will read the certifcate and return the appropriate digest
+ * This function will read the certificate and return the appropriate digest
* algorithm to use for signing with this certificate. Some certificates (i.e.
* DSA might not be able to sign without the preferred algorithm).
*
diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c
index b68ac75edd..e16bf403b5 100644
--- a/lib/x509/x509_ext.c
+++ b/lib/x509/x509_ext.c
@@ -2228,7 +2228,7 @@ int crl_dist_points_set(gnutls_x509_crl_dist_points_t cdp,
* @san: The point name data
* @reasons: Revocation reasons. An ORed sequence of flags from %gnutls_x509_crl_reason_flags_t.
*
- * This function will store the specified CRL distibution point value
+ * This function will store the specified CRL distribution point value
* the @cdp type.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0), otherwise a negative error value.
diff --git a/src/certtool-cfg.c b/src/certtool-cfg.c
index 48b44c0329..e7565bb2a7 100644
--- a/src/certtool-cfg.c
+++ b/src/certtool-cfg.c
@@ -694,7 +694,7 @@ const char *get_confirmed_pass(bool empty_ok)
do {
if (pass)
fprintf(stderr,
- "Password missmatch, try again.\n");
+ "Password mismatch, try again.\n");
free(copy);