1
0
mirror of https://github.com/lxsang/antd-tunnel-plugin synced 2024-12-26 01:48:21 +01:00

dont log user and access token in syslog
Some checks failed
gitea-sync/antd-tunnel-plugin/pipeline/head There was a failure building this commit

This commit is contained in:
DanyLE 2023-04-03 17:03:04 +02:00
parent 3121fc86a7
commit 320064c2a6

View File

@ -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);