mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-07 16:01:30 +00:00
fix unit tests for older compilers
This commit is contained in:
1 parent
91a638156c
commit
ef25c42e86
1 file changed
+1
-1
+1
-1
@@ -1229,10 +1229,10 @@ static void f3(struct mg_connection *c, int ev, void *ev_data, void *fn_data) {
|
|||||||
|
|
||||||
static void test_http_client(void) {
|
static void test_http_client(void) {
|
||||||
struct mg_tls_opts opts;
|
struct mg_tls_opts opts;
|
||||||
memset(&opts, 0, sizeof(opts));
|
|
||||||
struct mg_mgr mgr;
|
struct mg_mgr mgr;
|
||||||
struct mg_connection *c = NULL;
|
struct mg_connection *c = NULL;
|
||||||
int i, ok = 0;
|
int i, ok = 0;
|
||||||
|
memset(&opts, 0, sizeof(opts));
|
||||||
mg_mgr_init(&mgr);
|
mg_mgr_init(&mgr);
|
||||||
#if MG_TLS
|
#if MG_TLS
|
||||||
opts.client_ca = mg_str(CA_ISRG_ROOT_X2 CA_ISRG_ROOT_X1);
|
opts.client_ca = mg_str(CA_ISRG_ROOT_X2 CA_ISRG_ROOT_X1);
|
||||||
|
|||||||
Reference in new issue
Block a user