mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-01 05:52:32 +07:00
fix TLS text
This commit is contained in:
+6
-3
@@ -4138,9 +4138,12 @@ void mg_mgr_init(struct mg_mgr *mgr) {
|
||||
mgr->dns6.url = "udp://[2001:4860:4860::8888]:53";
|
||||
mg_tls_ctx_init(mgr);
|
||||
MG_DEBUG(("MG_IO_SIZE: %lu, TLS: %s", MG_IO_SIZE,
|
||||
MG_TLS == MG_TLS_NONE ? "none"
|
||||
: MG_TLS == MG_TLS_MBED ? "mbedtls"
|
||||
: "builtin"));
|
||||
MG_TLS == MG_TLS_NONE ? "none"
|
||||
: MG_TLS == MG_TLS_MBED ? "MbedTLS"
|
||||
: MG_TLS == MG_TLS_OPENSSL ? "OpenSSL"
|
||||
: MG_TLS == MG_TLS_BUILTIN ? "builtin"
|
||||
: MG_TLS == MG_TLS_WOLFSSL ? "WolfSSL"
|
||||
: "custom"));
|
||||
}
|
||||
|
||||
#ifdef MG_ENABLE_LINES
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "net.h"
|
||||
#include "dns.h"
|
||||
#include "fmt.h"
|
||||
#include "log.h"
|
||||
#include "net.h"
|
||||
#include "printf.h"
|
||||
#include "profile.h"
|
||||
#include "timer.h"
|
||||
@@ -288,7 +288,10 @@ void mg_mgr_init(struct mg_mgr *mgr) {
|
||||
mgr->dns6.url = "udp://[2001:4860:4860::8888]:53";
|
||||
mg_tls_ctx_init(mgr);
|
||||
MG_DEBUG(("MG_IO_SIZE: %lu, TLS: %s", MG_IO_SIZE,
|
||||
MG_TLS == MG_TLS_NONE ? "none"
|
||||
: MG_TLS == MG_TLS_MBED ? "mbedtls"
|
||||
: "builtin"));
|
||||
MG_TLS == MG_TLS_NONE ? "none"
|
||||
: MG_TLS == MG_TLS_MBED ? "MbedTLS"
|
||||
: 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