Split TLS files and introduce MG_ENABLE_CUSTOM_TLS

This commit is contained in:
Sergey Lyubka committed 2021-12-14 12:42:41 +00:00
1 parent 84f3fb0ba5
commit 755bf3c412
13 files changed
+496 -445

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
#pragma once
#include "net.h"
#include "tls_mbed.h"
#include "tls_openssl.h"
struct mg_tls_opts {
const char *ca; // CA certificate file. For both listeners and clients