summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/srtp.c2
-rw-r--r--lib/locks.c2
-rw-r--r--lib/opencdk/keydb.c2
-rw-r--r--lib/priority.c2
-rw-r--r--lib/x509/pkcs7.c4
5 files changed, 6 insertions, 6 deletions
diff --git a/lib/ext/srtp.c b/lib/ext/srtp.c
index 564566b657..421e09149c 100644
--- a/lib/ext/srtp.c
+++ b/lib/ext/srtp.c
@@ -462,7 +462,7 @@ gnutls_srtp_set_profile(gnutls_session_t session,
* @session: is a #gnutls_session_t type.
* @profiles: is a string that contains the supported SRTP profiles,
* separated by colons.
- * @err_pos: In case of an error this will have the position in the string the error occured, may be NULL.
+ * @err_pos: In case of an error this will have the position in the string the error occurred, may be NULL.
*
* This function is to be used by both clients and servers, to declare
* what SRTP profiles they support, to negotiate with the peer.
diff --git a/lib/locks.c b/lib/locks.c
index d632e0e3c9..8b94b6c62a 100644
--- a/lib/locks.c
+++ b/lib/locks.c
@@ -39,7 +39,7 @@
* With this function you are allowed to override the default mutex
* locks used in some parts of gnutls and dependent libraries. This function
* should be used if you have complete control of your program and libraries.
- * Do not call this function from a library, or preferrably from any application
+ * Do not call this function from a library, or preferably from any application
* unless really needed to. GnuTLS will use the appropriate locks for the running
* system.
*
diff --git a/lib/opencdk/keydb.c b/lib/opencdk/keydb.c
index e0ab08d544..4e9c1dc54f 100644
--- a/lib/opencdk/keydb.c
+++ b/lib/opencdk/keydb.c
@@ -1338,7 +1338,7 @@ keydb_parse_allsigs(cdk_kbnode_t knode, cdk_keydb_hd_t hd, int check)
return CDK_Error_No_Key;
}
}
- /* Revocation certifcates for user ID's */
+ /* Revocation certificates for user ID's */
else if (sig->sig_class == 0x30) {
if (sig->keyid[0] != keyid[0]
|| sig->keyid[1] != keyid[1])
diff --git a/lib/priority.c b/lib/priority.c
index bb9493401f..cadc201a83 100644
--- a/lib/priority.c
+++ b/lib/priority.c
@@ -1327,7 +1327,7 @@ void gnutls_priority_deinit(gnutls_priority_t priority_cache)
* gnutls_priority_set_direct:
* @session: is a #gnutls_session_t type.
* @priorities: is a string describing priorities
- * @err_pos: In case of an error this will have the position in the string the error occured
+ * @err_pos: In case of an error this will have the position in the string the error occurred
*
* Sets the priorities to use on the ciphers, key exchange methods,
* macs and compression methods. This function avoids keeping a
diff --git a/lib/x509/pkcs7.c b/lib/x509/pkcs7.c
index d20d935e55..532e691a54 100644
--- a/lib/x509/pkcs7.c
+++ b/lib/x509/pkcs7.c
@@ -402,7 +402,7 @@ gnutls_pkcs7_get_crt_raw(gnutls_pkcs7_t pkcs7,
* gnutls_pkcs7_get_crt_count:
* @pkcs7: should contain a #gnutls_pkcs7_t type
*
- * This function will return the number of certifcates in the PKCS7
+ * This function will return the number of certificates in the PKCS7
* or RFC2630 certificate set.
*
* Returns: On success, a positive number is returned, otherwise a
@@ -1613,7 +1613,7 @@ gnutls_pkcs7_get_crl_raw(gnutls_pkcs7_t pkcs7,
* gnutls_pkcs7_get_crl_count:
* @pkcs7: The pkcs7 type
*
- * This function will return the number of certifcates in the PKCS7
+ * This function will return the number of certificates in the PKCS7
* or RFC2630 crl set.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a