summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-04-05 13:32:26 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-04-05 14:55:47 +0200
commit4a8f6869db3a4ba7cd1bcb153c3d5b4298728afa (patch)
tree4d2278cb655d836a24937384f38aa769edec7c04 /lib
parentb47bda559464b1d12bb0585100df2d101866406d (diff)
downloadcurl-4a8f6869db3a4ba7cd1bcb153c3d5b4298728afa.tar.gz
English: use American spelling consistently
Authorization, Initialization, Organization etc. Closes #8673
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_sasl.c2
-rw-r--r--lib/hmac.c6
-rw-r--r--lib/setopt.c2
-rw-r--r--lib/socks.h4
-rw-r--r--lib/urldata.h2
-rw-r--r--lib/vtls/gskit.c3
6 files changed, 9 insertions, 10 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c
index 7e28c92fd..48d6625ba 100644
--- a/lib/curl_sasl.c
+++ b/lib/curl_sasl.c
@@ -670,7 +670,7 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct Curl_easy *data,
#endif
case SASL_OAUTH2:
- /* Create the authorisation message */
+ /* Create the authorization message */
if(sasl->authused == SASL_MECH_OAUTHBEARER) {
result = Curl_auth_create_oauth_bearer_message(conn->user,
hostname,
diff --git a/lib/hmac.c b/lib/hmac.c
index 590abe6d2..85b175d45 100644
--- a/lib/hmac.c
+++ b/lib/hmac.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -39,8 +39,8 @@
* Generic HMAC algorithm.
*
* This module computes HMAC digests based on any hash function. Parameters
- * and computing procedures are set-up dynamically at HMAC computation
- * context initialisation.
+ * and computing procedures are set-up dynamically at HMAC computation context
+ * initialization.
*/
static const unsigned char hmac_ipad = 0x36;
diff --git a/lib/setopt.c b/lib/setopt.c
index 8bfeec37a..0df1afa61 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -2602,7 +2602,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
#endif
case CURLOPT_SASL_AUTHZID:
- /* Authorisation identity (identity to act as) */
+ /* Authorization identity (identity to act as) */
result = Curl_setstropt(&data->set.str[STRING_SASL_AUTHZID],
va_arg(param, char *));
break;
diff --git a/lib/socks.h b/lib/socks.h
index b0c7f9b26..f30c610a8 100644
--- a/lib/socks.h
+++ b/lib/socks.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -69,7 +69,7 @@ CURLproxycode Curl_SOCKS5(const char *proxy_name,
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
/*
- * This function handles the SOCKS5 GSS-API negotiation and initialisation
+ * This function handles the SOCKS5 GSS-API negotiation and initialization
*/
CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
struct Curl_easy *data);
diff --git a/lib/urldata.h b/lib/urldata.h
index e77fae7d1..07eb19b87 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -983,7 +983,7 @@ struct connectdata {
char *user; /* user name string, allocated */
char *passwd; /* password string, allocated */
char *options; /* options string, allocated */
- char *sasl_authzid; /* authorisation identity string, allocated */
+ char *sasl_authzid; /* authorization identity string, allocated */
unsigned char httpversion; /* the HTTP version*10 reported by the server */
struct curltime now; /* "current" time */
struct curltime created; /* creation time */
diff --git a/lib/vtls/gskit.c b/lib/vtls/gskit.c
index 56d48497d..0d22c4c0e 100644
--- a/lib/vtls/gskit.c
+++ b/lib/vtls/gskit.c
@@ -449,8 +449,7 @@ static CURLcode set_ciphers(struct Curl_easy *data,
static int gskit_init(void)
{
- /* No initialisation needed. */
-
+ /* No initialization needed. */
return 1;
}