mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
fix TLS text
This commit is contained in:
1 parent
3bbcd5df3e
commit
6aa8c01ac7
2 files changed
+11
-5
No files matched your search
+5
-2
@@ -4139,8 +4139,11 @@ void mg_mgr_init(struct mg_mgr *mgr) {
|
|||||||
mg_tls_ctx_init(mgr);
|
mg_tls_ctx_init(mgr);
|
||||||
MG_DEBUG(("MG_IO_SIZE: %lu, TLS: %s", MG_IO_SIZE,
|
MG_DEBUG(("MG_IO_SIZE: %lu, TLS: %s", MG_IO_SIZE,
|
||||||
MG_TLS == MG_TLS_NONE ? "none"
|
MG_TLS == MG_TLS_NONE ? "none"
|
||||||
: MG_TLS == MG_TLS_MBED ? "mbedtls"
|
: MG_TLS == MG_TLS_MBED ? "MbedTLS"
|
||||||
: "builtin"));
|
: MG_TLS == MG_TLS_OPENSSL ? "OpenSSL"
|
||||||
|
: MG_TLS == MG_TLS_BUILTIN ? "builtin"
|
||||||
|
: MG_TLS == MG_TLS_WOLFSSL ? "WolfSSL"
|
||||||
|
: "custom"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef MG_ENABLE_LINES
|
#ifdef MG_ENABLE_LINES
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
#include "net.h"
|
||||||
#include "dns.h"
|
#include "dns.h"
|
||||||
#include "fmt.h"
|
#include "fmt.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "net.h"
|
|
||||||
#include "printf.h"
|
#include "printf.h"
|
||||||
#include "profile.h"
|
#include "profile.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
@@ -289,6 +289,9 @@ void mg_mgr_init(struct mg_mgr *mgr) {
|
|||||||
mg_tls_ctx_init(mgr);
|
mg_tls_ctx_init(mgr);
|
||||||
MG_DEBUG(("MG_IO_SIZE: %lu, TLS: %s", MG_IO_SIZE,
|
MG_DEBUG(("MG_IO_SIZE: %lu, TLS: %s", MG_IO_SIZE,
|
||||||
MG_TLS == MG_TLS_NONE ? "none"
|
MG_TLS == MG_TLS_NONE ? "none"
|
||||||
: MG_TLS == MG_TLS_MBED ? "mbedtls"
|
: MG_TLS == MG_TLS_MBED ? "MbedTLS"
|
||||||
: "builtin"));
|
: MG_TLS == MG_TLS_OPENSSL ? "OpenSSL"
|
||||||
|
: MG_TLS == MG_TLS_BUILTIN ? "builtin"
|
||||||
|
: MG_TLS == MG_TLS_WOLFSSL ? "WolfSSL"
|
||||||
|
: "custom"));
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user