mirror of
https://github.com/curl/curl.git
synced 2026-04-30 05:47:53 +03:00
tidy-up: spelling
C89, Schannel, Secure Transport, contractions. Cherry-picked from #14692 Closes #14996
This commit is contained in:
parent
1064dfa86a
commit
d83b528a80
17 changed files with 34 additions and 35 deletions
|
|
@ -45,8 +45,8 @@
|
|||
|
||||
/* Workaround for Homebrew gcc 12.4.0, 13.3.0, 14.1.0 and newer (as of 14.1.0)
|
||||
that started advertising the `availability` attribute, which then gets used
|
||||
by Apple SDK, but, in a way incompatible with gcc, resulting in a misc
|
||||
errors inside SDK headers, e.g.:
|
||||
by Apple SDK, but, in a way incompatible with gcc, resulting in misc errors
|
||||
inside SDK headers, e.g.:
|
||||
error: attributes should be specified before the declarator in a function
|
||||
definition
|
||||
error: expected ',' or '}' before
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
* * GnuTLS
|
||||
* * wolfSSL
|
||||
* * Schannel SSPI
|
||||
* * SecureTransport (Darwin)
|
||||
* * Secure Transport (Darwin)
|
||||
* * mbedTLS
|
||||
* * BearSSL
|
||||
* * Rustls
|
||||
|
|
|
|||
|
|
@ -426,9 +426,9 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data)
|
|||
|
||||
/* Set the default CA cert bundle/path detected/specified at build time.
|
||||
*
|
||||
* If Schannel or SecureTransport is the selected SSL backend then these
|
||||
* locations are ignored. We allow setting CA location for schannel and
|
||||
* securetransport when explicitly specified by the user via
|
||||
* If Schannel or Secure Transport is the selected SSL backend then these
|
||||
* locations are ignored. We allow setting CA location for Schannel and
|
||||
* Secure Transport when explicitly specified by the user via
|
||||
* CURLOPT_CAINFO / --cacert.
|
||||
*/
|
||||
if(Curl_ssl_backend() != CURLSSLBACKEND_SCHANNEL &&
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
***************************************************************************/
|
||||
|
||||
/*
|
||||
* Source file for all iOS and macOS SecureTransport-specific code for the
|
||||
* Source file for all iOS and macOS Secure Transport-specific code for the
|
||||
* TLS/SSL layer. No code but vtls.c should ever call or use these functions.
|
||||
*/
|
||||
|
||||
|
|
@ -197,7 +197,7 @@ static const uint16_t default_ciphers[] = {
|
|||
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, /* 0xCCA8 */
|
||||
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, /* 0xCCA9 */
|
||||
|
||||
/* TLSv1.3 is not supported by sectransp, but there is also other
|
||||
/* TLSv1.3 is not supported by Secure Transport, but there is also other
|
||||
* code referencing TLSv1.3, like: kTLSProtocol13 ? */
|
||||
TLS_AES_128_GCM_SHA256, /* 0x1301 */
|
||||
TLS_AES_256_GCM_SHA384, /* 0x1302 */
|
||||
|
|
@ -1227,8 +1227,7 @@ static CURLcode sectransp_connect_step1(struct Curl_cfilter *cf,
|
|||
Mountain Lion.
|
||||
So we need to call SSLSetEnableCertVerify() on those older cats in order
|
||||
to disable certificate validation if the user turned that off.
|
||||
(SecureTransport will always validate the certificate chain by
|
||||
default.)
|
||||
(Secure Transport always validates the certificate chain by default.)
|
||||
Note:
|
||||
Darwin 11.x.x is Lion (10.7)
|
||||
Darwin 12.x.x is Mountain Lion (10.8)
|
||||
|
|
@ -2463,7 +2462,7 @@ static CURLcode sectransp_shutdown(struct Curl_cfilter *cf,
|
|||
}
|
||||
else {
|
||||
/* We would like to read the close notify from the server using
|
||||
* secure transport, however SSLRead() no longer works after we
|
||||
* Secure Transport, however SSLRead() no longer works after we
|
||||
* sent the notify from our side. So, we just read from the
|
||||
* underlying filter and hope it will end. */
|
||||
nread = Curl_conn_cf_recv(cf->next, data, buf, sizeof(buf), &result);
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ CURLcode Curl_ssl_set_sessionid(struct Curl_cfilter *cf,
|
|||
#include "gtls.h" /* GnuTLS versions */
|
||||
#include "wolfssl.h" /* wolfSSL versions */
|
||||
#include "schannel.h" /* Schannel SSPI version */
|
||||
#include "sectransp.h" /* SecureTransport (Darwin) version */
|
||||
#include "sectransp.h" /* Secure Transport (Darwin) version */
|
||||
#include "mbedtls.h" /* mbedTLS versions */
|
||||
#include "bearssl.h" /* BearSSL versions */
|
||||
#include "rustls.h" /* Rustls versions */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue