X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=66b7d037ffe6b16b8bee628adade17db4a533563;hp=87ba30a3e919e5fb1660994bb6b39f0368614bd0;hb=987f2a3dd64620141d30bb8b5d5f38733497af42;hpb=e913f3f232e4809b7218d081ab9f94cef1c94ac3;ds=sidebyside diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 87ba30a3..66b7d037 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -217,7 +217,7 @@ bool send_metakey(connection_t *c) { if (1 != RAND_bytes((unsigned char *)c->outkey, len)) { int err = ERR_get_error(); - logger(LOG_ERR, "Failed to generate meta key (%s)", "SEND_METAKEY", ERR_error_string(err, NULL)); + logger(LOG_ERR, "Failed to generate meta key (%s)", ERR_error_string(err, NULL)); return false; } @@ -398,7 +398,7 @@ bool send_challenge(connection_t *c) { if (1 != RAND_bytes((unsigned char *)c->hischallenge, len)) { int err = ERR_get_error(); - logger(LOG_ERR, "Failed to generate challenge (%s)", "SEND_CHALLENGE", ERR_error_string(err, NULL)); + logger(LOG_ERR, "Failed to generate challenge (%s)", ERR_error_string(err, NULL)); return false; // Do not send predictable challenges, let connection attempt fail. }