]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
English: use American spelling consistently
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Apr 2022 11:32:26 +0000 (13:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Apr 2022 12:55:47 +0000 (14:55 +0200)
Authorization, Initialization, Organization etc.

Closes #8673

23 files changed:
docs/URL-SYNTAX.md
docs/cmdline-opts/sasl-authzid.d
docs/examples/curlx.c
docs/examples/imap-authzid.c
docs/examples/pop3-authzid.c
docs/examples/smtp-authzid.c
docs/examples/synctime.c
docs/libcurl/curl_easy_setopt.3
docs/libcurl/curl_global_init.3
docs/libcurl/curl_global_init_mem.3
docs/libcurl/opts/CURLOPT_SASL_AUTHZID.3
include/curl/curl.h
lib/curl_sasl.c
lib/hmac.c
lib/setopt.c
lib/socks.h
lib/urldata.h
lib/vtls/gskit.c
packages/OS400/README.OS400
packages/OS400/initscript.sh
src/tool_cfgable.h
src/tool_easysrc.c
tests/convsrctest.pl

index 65dfc6ba22cd11e27f7bed6145524f9c4dd24a17..0b452f87fbb478446c623989920c05d5ca0cab8b 100644 (file)
@@ -317,13 +317,13 @@ Name, Attributes, Scope, Filter and Extension for a LDAP search. Each field is
 separated by a question mark and when that field is not required an empty
 string with the question mark separator should be included.
 
-Search for the DN as `My Organisation`:
+Search for the DN as `My Organization`:
 
-    ldap://ldap.example.com/o=My%20Organisation
+    ldap://ldap.example.com/o=My%20Organization
 
 the same search but will only return postalAddress attributes:
 
-    ldap://ldap.example.com/o=My%20Organisation?postalAddress
+    ldap://ldap.example.com/o=My%20Organization?postalAddress
 
 Search for an empty DN and request information about the
 `rootDomainNamingContext` attribute for an Active Directory server:
index d80e30f52c4227b945ab82bd0d7d75f2d6083585..4e2a419a97de30a1a2ddad57d5c11e2d12587178 100644 (file)
@@ -6,7 +6,7 @@ Category: auth
 Example: --sasl-authzid zid imap://example.com/
 See-also: login-options
 ---
-Use this authorisation identity (authzid), during SASL PLAIN authentication,
+Use this authorization identity (authzid), during SASL PLAIN authentication,
 in addition to the authentication identity (authcid) as specified by --user.
 
 If the option is not specified, the server will derive the authzid from the
index 9450cdd4cb17d622e0ba31f5f30b33f4a5188d66..97ad0102948b2adf548d4d88750307eb44b55d13 100644 (file)
@@ -3,7 +3,7 @@
 
   This is a little program to demonstrate the usage of
 
-  - an ssl initialisation callback setting a user key and trustbases
+  - an SSL initialization callback setting a user key and trustbases
   coming from a pkcs12 file
   - using an ssl application callback to find a URI in the
   certificate presented during ssl session establishment.
@@ -228,7 +228,7 @@ static int ssl_app_verify_callback(X509_STORE_CTX *ctx, void *arg)
 }
 
 
-/* The SSL initialisation callback. The callback sets:
+/* The SSL initialization callback. The callback sets:
    - a private key and certificate
    - a trusted ca certificate
    - a preferred cipherlist
index cf8ea1084b54d08010ae41085441a26183427e84..4bdeb4ed4ef0c19ce094822217dc29214b34e551 100644 (file)
@@ -5,7 +5,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
@@ -45,7 +45,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
     curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
 
-    /* Set the authorisation identity (identity to act as) */
+    /* Set the authorization identity (identity to act as) */
     curl_easy_setopt(curl, CURLOPT_SASL_AUTHZID, "shared-mailbox");
 
     /* Force PLAIN authentication */
index f6b9fe87ae79901cc20ac641e17c97c8cbfe2204..11628448859d636dea26e109e9a8bd5630259e93 100644 (file)
@@ -5,7 +5,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
@@ -45,7 +45,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
     curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
 
-    /* Set the authorisation identity (identity to act as) */
+    /* Set the authorization identity (identity to act as) */
     curl_easy_setopt(curl, CURLOPT_SASL_AUTHZID, "shared-mailbox");
 
     /* Force PLAIN authentication */
index e3b95114b856415df336663b84112cac41bb88e2..5463c305db8aabf22d9fd11415d7ddabc7fd5c9d 100644 (file)
@@ -5,7 +5,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
@@ -107,7 +107,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_USERNAME, "kurt");
     curl_easy_setopt(curl, CURLOPT_PASSWORD, "xipj3plmq");
 
-    /* Set the authorisation identity (identity to act as) */
+    /* Set the authorization identity (identity to act as) */
     curl_easy_setopt(curl, CURLOPT_SASL_AUTHZID, "ursel");
 
     /* Force PLAIN authentication */
index bdf047390d7c48791ed391d789f0569df163bcef..edf555dfb33731efe85889f520aa1db848135bc6 100644 (file)
@@ -5,7 +5,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
@@ -39,7 +39,7 @@
  *
  * Synchronising your computer clock via Internet time server usually relies
  * on DAYTIME, TIME, or NTP protocols. These protocols provide good accurate
- * time synchronisation but it does not work very well through a
+ * time synchronization but it does not work very well through a
  * firewall/proxy. Some adjustment has to be made to the firewall/proxy for
  * these protocols to work properly.
  *
index c3b753b3bdccdaabfca70ee8d344ccff13306c4c..66cb466c01e8a52de78cbf5eaff750a610490a05 100644 (file)
@@ -5,7 +5,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
@@ -264,7 +264,7 @@ Proxy TLS authentication methods. See \fICURLOPT_PROXY_TLSAUTH_TYPE(3)\fP
 .IP CURLOPT_PROXYAUTH
 HTTP proxy authentication methods. See \fICURLOPT_PROXYAUTH(3)\fP
 .IP CURLOPT_SASL_AUTHZID
-SASL authorisation identity (identity to act as). See \fICURLOPT_SASL_AUTHZID(3)\fP
+SASL authorization identity (identity to act as). See \fICURLOPT_SASL_AUTHZID(3)\fP
 .IP CURLOPT_SASL_IR
 Enable SASL initial response. See \fICURLOPT_SASL_IR(3)\fP
 .IP CURLOPT_XOAUTH2_BEARER
index dec38a835a8fbfdf74694a16e2e11cd91893352e..8709a6345574085b39dc8bc4007ad5c42148828d 100644 (file)
@@ -5,7 +5,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
@@ -21,7 +21,7 @@
 .\" **************************************************************************
 .TH curl_global_init 3 "11 May 2004" "libcurl 7.12" "libcurl Manual"
 .SH NAME
-curl_global_init - Global libcurl initialisation
+curl_global_init - Global libcurl initialization
 .SH SYNOPSIS
 .nf
 #include <curl/curl.h>
index 9b8b4bffcd338013e9d5fe29d33c4aabfe270dc8..12a8b1487b9602953e9718dac48d1f540b44379c 100644 (file)
@@ -21,7 +21,7 @@
 .\" **************************************************************************
 .TH curl_global_init_mem 3 "10 May 2004" "libcurl 7.12.0" "libcurl Manual"
 .SH NAME
-curl_global_init_mem - Global libcurl initialisation with memory callbacks
+curl_global_init_mem - Global libcurl initialization with memory callbacks
 .SH SYNOPSIS
 .nf
 #include <curl/curl.h>
index 7468235ccd58db6dde4870851fc3308f2c55b859..174ab53795e221e86fc3b8e822b5a0271ba255f0 100644 (file)
@@ -22,7 +22,7 @@
 .\"
 .TH CURLOPT_SASL_AUTHZID 3 "11 Sep 2019" "libcurl 7.66.0" "curl_easy_setopt options"
 .SH NAME
-CURLOPT_SASL_AUTHZID \- authorisation identity (identity to act as)
+CURLOPT_SASL_AUTHZID \- authorization identity (identity to act as)
 .SH SYNOPSIS
 .nf
 #include <curl/curl.h>
@@ -31,7 +31,7 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SASL_AUTHZID, char *authzid);
 .fi
 .SH DESCRIPTION
 Pass a char * as parameter, which should be pointing to the null-terminated
-authorisation identity (authzid) for the transfer. Only applicable to the PLAIN
+authorization identity (authzid) for the transfer. Only applicable to the PLAIN
 SASL authentication mechanism where it is optional.
 
 When not specified only the authentication identity (authcid) as specified by
index 79de068923258f9829453036511766de2f4e70bc..3a2c2ea561b6eefe5716c6c9db7f85b734950bb9 100644 (file)
@@ -2049,7 +2049,7 @@ typedef enum {
    * (in seconds) */
   CURLOPT(CURLOPT_MAXAGE_CONN, CURLOPTTYPE_LONG, 288),
 
-  /* SASL authorisation identity */
+  /* SASL authorization identity */
   CURLOPT(CURLOPT_SASL_AUTHZID, CURLOPTTYPE_STRINGPOINT, 289),
 
   /* allow RCPT TO command to fail for some recipients */
index 7e28c92fd392088ef2dec63f57ecb55703fd51c9..48d6625ba43b873c5def5b34ef2bbf10857e597c 100644 (file)
@@ -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,
index 590abe6d2eb2c73557ffd3cfaad65eba2b25da33..85b175d45fbe13b4efa712aa3bf1bd17cf4b09cf 100644 (file)
@@ -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;
index 8bfeec37ae6f8a4b87daa38e25c2641452497b60..0df1afa6144552b6be12e4ab540224267576cb31 100644 (file)
@@ -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;
index b0c7f9b26b4654f02ab91fd6e89c5062d23ef05e..f30c610a861a3e125559ab1d799d93471b8c1cc5 100644 (file)
@@ -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);
index e77fae7d10b3403e4485ec25ffec9a5472d95682..07eb19b870341170ce6f8ad197088b1cc7359c4a 100644 (file)
@@ -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 */
index 56d48497dbc655a0f456dedae3a4d2597153c230..0d22c4c0ed17be3fb1c1f37554d6677a28a670ed 100644 (file)
@@ -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;
 }
 
index 8e2d19d7b11c576f7d57aed23de7b6b719d27bec..e245aff992493b26a8e6187baa4b4835665cab74 100644 (file)
@@ -264,7 +264,7 @@ _ Enter Qshell (QSH, not PASE)
 _ Change current directory to the curl installation directory
 _ Change current directory to ./packages/OS400
 _ Edit file iniscript.sh. You may want to change tunable configuration
-  parameters, like debug info generation, optimisation level, listing option,
+  parameters, like debug info generation, optimization level, listing option,
   target library, ZLIB/LIBSSH2 availability and location, etc.
 _ Copy any file in the current directory to makelog (i.e.:
   cp initscript.sh makelog): this is intended to create the makelog file with
index 93e713cf95fe70a1f962e7b245bc7f831e5cab8e..e09072f8d2110b88c4bb72bbfc0858a8c7dbcca8 100644 (file)
@@ -73,7 +73,7 @@ setenv DYNBNDDIR        'CURL'                  # Dynamic binding directory.
 setenv SRVPGM           "CURL.${SONAME}"        # Service program.
 setenv TGTCCSID         '500'                   # Target CCSID of objects.
 setenv DEBUG            '*ALL'                  # Debug level.
-setenv OPTIMIZE         '10'                    # Optimisation level
+setenv OPTIMIZE         '10'                    # Optimization level
 setenv OUTPUT           '*NONE'                 # Compilation output option.
 setenv TGTRLS           '*CURRENT'              # Target OS release.
 setenv IFSDIR           '/curl'                 # Installation IFS directory.
index 9b6eed0c8bb448b8498f499a449faa8ae06276b8..c7cbab4bd79e23d7d683d6b6343fb1e9a934aa04 100644 (file)
@@ -110,7 +110,7 @@ struct OperationConfig {
   struct curl_slist *mail_rcpt;
   char *mail_auth;
   bool mail_rcpt_allowfails; /* --mail-rcpt-allowfails */
-  char *sasl_authzid;       /* Authorisation identity (identity to use) */
+  char *sasl_authzid;       /* Authorization identity (identity to use) */
   bool sasl_ir;             /* Enable/disable SASL initial response */
   bool proxytunnel;
   bool ftp_append;          /* APPE on ftp */
index 85a586d9d64e1eea9e8fe5fef3025142a3c9db3d..b6c7af72290f9133539e08a6d6e844a82f243045 100644 (file)
@@ -5,7 +5,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
@@ -59,7 +59,7 @@ static const char *const srchead[]={
   NULL
 };
 /* easysrc_decl declarations come here */
-/* easysrc_data initialisations come here */
+/* easysrc_data initialization come here */
 /* easysrc_code statements come here */
 static const char *const srchard[]={
   "/* Here is a list of options the curl code used that cannot get generated",
index 829cbdb368158353ea2b4a570e110c76a2f9a328..323f57b8e6a00afa6f4eaba55bbf441ac6cfb7fe 100755 (executable)
@@ -6,7 +6,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
@@ -136,7 +136,7 @@ sub generate_c {
         }
         elsif(! $seen_setopt) {
             if(/^\s*(int main|\{|CURLcode |CURL |hnd = curl_easy_init)/) {
-                # Initialisations handled by boilerplate
+                # Initialization handled by boilerplate
                 next;
             }
             else {