mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-24 02:59:01 +08:00
Make TLS less verbose
This commit is contained in:
parent
dfc2e97d5e
commit
0ad4002569
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user