diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-06 20:10:42 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-10 11:54:32 +0300 |
commit | 3330f10e6242d4ef542a67e0d5af31a0251127ab (patch) | |
tree | dfaca08e5b100edfb24e7f592c15c618eea40262 /src/testcurl/https/test_tls_options.c | |
parent | 6e78e8022576955e89ff3626d9019320bd5d2228 (diff) | |
download | libmicrohttpd-3330f10e6242d4ef542a67e0d5af31a0251127ab.tar.gz libmicrohttpd-3330f10e6242d4ef542a67e0d5af31a0251127ab.zip |
testcurl/https: some simplifications and clean-ups
Diffstat (limited to 'src/testcurl/https/test_tls_options.c')
-rw-r--r-- | src/testcurl/https/test_tls_options.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/testcurl/https/test_tls_options.c b/src/testcurl/https/test_tls_options.c index 7390b89a..f6fa477a 100644 --- a/src/testcurl/https/test_tls_options.c +++ b/src/testcurl/https/test_tls_options.c | |||
@@ -54,9 +54,9 @@ test_unmatching_ssl_version (void *cls, uint16_t port, const char *cipher_suite, | |||
54 | cbc.size = 256; | 54 | cbc.size = 256; |
55 | cbc.pos = 0; | 55 | cbc.pos = 0; |
56 | 56 | ||
57 | if (gen_test_file_url (url, | 57 | if (gen_test_uri (url, |
58 | sizeof (url), | 58 | sizeof (url), |
59 | port)) | 59 | port)) |
60 | { | 60 | { |
61 | free (cbc.buf); | 61 | free (cbc.buf); |
62 | fprintf (stderr, | 62 | fprintf (stderr, |
@@ -79,7 +79,6 @@ test_unmatching_ssl_version (void *cls, uint16_t port, const char *cipher_suite, | |||
79 | } | 79 | } |
80 | 80 | ||
81 | 81 | ||
82 | /* setup a temporary transfer test file */ | ||
83 | int | 82 | int |
84 | main (int argc, char *const *argv) | 83 | main (int argc, char *const *argv) |
85 | { | 84 | { |