From 320064c2a63a8bc9a9ca42905c0b8038e591c5dc Mon Sep 17 00:00:00 2001 From: DanyLE Date: Mon, 3 Apr 2023 17:03:04 +0200 Subject: [PATCH] dont log user and access token in syslog --- tunnel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tunnel.c b/tunnel.c index 0f8fb1a..d97ab85 100644 --- a/tunnel.c +++ b/tunnel.c @@ -544,7 +544,6 @@ static void update_keychain(antd_tunnel_msg_t *msg) (void)memcpy(key_p->hash, msg->data, KEY_LEN); (void)memcpy(key_p->user, msg->data + KEY_LEN, msg->header.size - KEY_LEN); - LOG("User %s key %s", key_p->user, key_p->hash); // looking for key in the keychain int hash_val = simple_hash(key_p->hash); bst_node_t *node = bst_find(g_tunnel.keychain, hash_val);