mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
Make TLS less verbose
This commit is contained in:
1 parent
dfc2e97d5e
commit
0ad4002569
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -9033,8 +9033,8 @@ static int x25519(uint8_t out[X25519_BYTES], const uint8_t scalar[X25519_BYTES],
|
|||||||
|
|
||||||
// helper to hexdump buffers inline
|
// helper to hexdump buffers inline
|
||||||
static void mg_tls_hexdump(const char *msg, uint8_t *buf, size_t bufsz) {
|
static void mg_tls_hexdump(const char *msg, uint8_t *buf, size_t bufsz) {
|
||||||
char p[2048];
|
char p[512];
|
||||||
MG_INFO(("%s: %s", msg, mg_hex(buf, bufsz, p)));
|
MG_VERBOSE(("%s: %s", msg, mg_hex(buf, bufsz, p)));
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLS1.3 secret derivation based on the key label
|
// TLS1.3 secret derivation based on the key label
|
||||||
|
|||||||
+2
-2
@@ -286,8 +286,8 @@ static int x25519(uint8_t out[X25519_BYTES], const uint8_t scalar[X25519_BYTES],
|
|||||||
|
|
||||||
// helper to hexdump buffers inline
|
// helper to hexdump buffers inline
|
||||||
static void mg_tls_hexdump(const char *msg, uint8_t *buf, size_t bufsz) {
|
static void mg_tls_hexdump(const char *msg, uint8_t *buf, size_t bufsz) {
|
||||||
char p[2048];
|
char p[512];
|
||||||
MG_INFO(("%s: %s", msg, mg_hex(buf, bufsz, p)));
|
MG_VERBOSE(("%s: %s", msg, mg_hex(buf, bufsz, p)));
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLS1.3 secret derivation based on the key label
|
// TLS1.3 secret derivation based on the key label
|
||||||
|
|||||||
Reference in new issue
Block a user