mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:23:32 +03:00
tidy-up: more whitespace/indent, comments
Also a couple of minor formatting updates in the root `CMakeLists.txt`. One swap to `#ifdef`. Closes #17929
This commit is contained in:
parent
63a8167f3e
commit
4d977fe552
82 changed files with 351 additions and 378 deletions
|
|
@ -29,8 +29,8 @@ static CURLcode test_unit1601(char *arg)
|
|||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
|
||||
#if (defined(USE_CURL_NTLM_CORE) && !defined(USE_WINDOWS_SSPI)) \
|
||||
|| !defined(CURL_DISABLE_DIGEST_AUTH)
|
||||
#if (defined(USE_CURL_NTLM_CORE) && !defined(USE_WINDOWS_SSPI)) || \
|
||||
!defined(CURL_DISABLE_DIGEST_AUTH)
|
||||
|
||||
static const char string1[] = "1";
|
||||
static const char string2[] = "hello-you-fool";
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ static CURLcode test_unit1610(char *arg)
|
|||
{
|
||||
UNITTEST_BEGIN(t1610_setup())
|
||||
|
||||
#if !defined(CURL_DISABLE_AWS) || !defined(CURL_DISABLE_DIGEST_AUTH) \
|
||||
|| defined(USE_LIBSSH2)
|
||||
#if !defined(CURL_DISABLE_AWS) || !defined(CURL_DISABLE_DIGEST_AUTH) || \
|
||||
defined(USE_LIBSSH2)
|
||||
|
||||
static const char string1[] = "1";
|
||||
static const char string2[] = "hello-you-fool";
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ static CURLcode test_unit1612(char *arg)
|
|||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
|
||||
#if (defined(USE_CURL_NTLM_CORE) && !defined(USE_WINDOWS_SSPI)) \
|
||||
|| !defined(CURL_DISABLE_DIGEST_AUTH)
|
||||
#if (defined(USE_CURL_NTLM_CORE) && !defined(USE_WINDOWS_SSPI)) || \
|
||||
!defined(CURL_DISABLE_DIGEST_AUTH)
|
||||
|
||||
static const char password[] = "Pa55worD";
|
||||
static const char string1[] = "1";
|
||||
|
|
|
|||
|
|
@ -363,7 +363,7 @@ static CURLcode test_unit1651(char *arg)
|
|||
for(i = 0; i < 45; i++) {
|
||||
unsigned char backup = cert[i];
|
||||
cert[i] = (unsigned char) (byte & 0xff);
|
||||
(void) Curl_extract_certinfo(data, 0, beg, end);
|
||||
(void)Curl_extract_certinfo(data, 0, beg, end);
|
||||
cert[i] = backup;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue