[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 26/31: tls_test_common: fixed comments and error message
From: |
gnunet |
Subject: |
[libmicrohttpd] 26/31: tls_test_common: fixed comments and error messages |
Date: |
Mon, 10 Oct 2022 13:01:11 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 749a8b434cdad1af2ff0aa1236cab59bbbac3642
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Oct 10 09:00:16 2022 +0300
tls_test_common: fixed comments and error messages
---
src/testcurl/https/tls_test_common.c | 8 ++++----
1 file 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,
if (memcmp (cbc.buf, test_data, len) != 0)
{
- fprintf (stderr, "Error: local file & received file differ.\n");
+ fprintf (stderr, "Error: local data & received data differ.\n");
free (cbc.buf);
return 1;
}
@@ -359,7 +359,7 @@ gen_test_uri (char *uri,
/**
- * test HTTPS file transfer
+ * test HTTPS data transfer
*/
unsigned int
test_https_transfer (void *cls,
@@ -397,13 +397,13 @@ test_https_transfer (void *cls,
goto cleanup;
}
- /* compare test file & daemon response */
+ /* compare test data & daemon response */
if ( (len != strlen (test_data)) ||
(memcmp (cbc.buf,
test_data,
len) != 0) )
{
- fprintf (stderr, "Error: local file & received file differ.\n");
+ fprintf (stderr, "Error: original data & received data differ.\n");
ret = 1;
}
cleanup:
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 09/31: testcurl/https: enable verbose libcurl on debug builds, (continued)
- [libmicrohttpd] 09/31: testcurl/https: enable verbose libcurl on debug builds, gnunet, 2022/10/10
- [libmicrohttpd] 21/31: test_tls_extensions: removed unused test, gnunet, 2022/10/10
- [libmicrohttpd] 29/31: https tests: updated self-signed certificate, gnunet, 2022/10/10
- [libmicrohttpd] 20/31: testcurl/https: some simplifications and clean-ups, gnunet, 2022/10/10
- [libmicrohttpd] 23/31: microhttpd.h: minor doxy fix, gnunet, 2022/10/10
- [libmicrohttpd] 24/31: digestauth.h: removed leftover in doxy, gnunet, 2022/10/10
- [libmicrohttpd] 30/31: test_tls_authentication: fixed to really test TLS authentication, gnunet, 2022/10/10
- [libmicrohttpd] 19/31: testcurl/https: added proper check for snprintf() result, gnunet, 2022/10/10
- [libmicrohttpd] 22/31: test_https_session_info: removed hardcoded TLS version, gnunet, 2022/10/10
- [libmicrohttpd] 31/31: testcurl/https: updated copyright year in modified files, fixed some doxy, gnunet, 2022/10/10
- [libmicrohttpd] 26/31: tls_test_common: fixed comments and error messages,
gnunet <=
- [libmicrohttpd] 27/31: test_tls_options: re-implemented, removed hardcoded TLS versions, gnunet, 2022/10/10
- [libmicrohttpd] 28/31: https tests: renamed private key variable to match certificate name, gnunet, 2022/10/10