mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
use packed ca.pem
This commit is contained in:
1 parent
ae55789c4b
commit
d8106a8ffe
25 files changed
+2620
-24
No files matched your search
@@ -75,7 +75,7 @@ int main(void) {
|
||||
struct mg_mgr mgr;
|
||||
mg_mgr_init(&mgr);
|
||||
|
||||
struct mg_tls_opts opts = {.client_ca = mg_str(CA_GLOBALSIGN_RSA)};
|
||||
struct mg_tls_opts opts = {.client_ca = mg_unpacked("/certs/client_ca.pem")};
|
||||
mg_tls_ctx_init(&mgr, &opts);
|
||||
|
||||
mg_log_set(MG_LL_DEBUG);
|
||||
|
||||
Reference in new issue
Block a user