diff options
Diffstat (limited to 'src/testcurl/https/tls_test_common.c')
-rw-r--r-- | src/testcurl/https/tls_test_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/https/tls_test_common.c b/src/testcurl/https/tls_test_common.c index fba9068a..d2c7b14e 100644 --- a/src/testcurl/https/tls_test_common.c +++ b/src/testcurl/https/tls_test_common.c | |||
@@ -146,7 +146,7 @@ test_daemon_get (void *cls, | |||
146 | 146 | ||
147 | if (memcmp (cbc.buf, test_data, len) != 0) | 147 | if (memcmp (cbc.buf, test_data, len) != 0) |
148 | { | 148 | { |
149 | fprintf (stderr, "Error: local file & received file differ.\n"); | 149 | fprintf (stderr, "Error: local data & received data differ.\n"); |
150 | free (cbc.buf); | 150 | free (cbc.buf); |
151 | return 1; | 151 | return 1; |
152 | } | 152 | } |
@@ -359,7 +359,7 @@ gen_test_uri (char *uri, | |||
359 | 359 | ||
360 | 360 | ||
361 | /** | 361 | /** |
362 | * test HTTPS file transfer | 362 | * test HTTPS data transfer |
363 | */ | 363 | */ |
364 | unsigned int | 364 | unsigned int |
365 | test_https_transfer (void *cls, | 365 | test_https_transfer (void *cls, |
@@ -397,13 +397,13 @@ test_https_transfer (void *cls, | |||
397 | goto cleanup; | 397 | goto cleanup; |
398 | } | 398 | } |
399 | 399 | ||
400 | /* compare test file & daemon response */ | 400 | /* compare test data & daemon response */ |
401 | if ( (len != strlen (test_data)) || | 401 | if ( (len != strlen (test_data)) || |
402 | (memcmp (cbc.buf, | 402 | (memcmp (cbc.buf, |
403 | test_data, | 403 | test_data, |
404 | len) != 0) ) | 404 | len) != 0) ) |
405 | { | 405 | { |
406 | fprintf (stderr, "Error: local file & received file differ.\n"); | 406 | fprintf (stderr, "Error: original data & received data differ.\n"); |
407 | ret = 1; | 407 | ret = 1; |
408 | } | 408 | } |
409 | cleanup: | 409 | cleanup: |