mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-02 13:20:51 +00:00
Fix openssl build, and add openssl test
This commit is contained in:
1 parent
29534218d7
commit
1052ee0766
5 files changed
+18
-7
No files matched your search
+2
-1
@@ -566,7 +566,8 @@ static void test_http_server(void) {
|
||||
static void test_tls(void) {
|
||||
#if MG_ENABLE_MBEDTLS || MG_ENABLE_OPENSSL
|
||||
struct mg_tls_opts opts = {.ca = "./test/data/ss_ca.pem",
|
||||
.cert = "./test/data/ss_server.pem"};
|
||||
.cert = "./test/data/ss_server.pem",
|
||||
.certkey = "./test/data/ss_server.pem"};
|
||||
struct mg_mgr mgr;
|
||||
struct mg_connection *c;
|
||||
const char *url = "https://127.0.0.1:12347";
|
||||
|
||||
Reference in new issue
Block a user