X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=1fb37fcfa95eacb87bd713e0ea2feabd8463dd5f;hb=76165488f8201a59e649b4eec02ee31398b3fb92;hp=0471932a2c33a51da91658ac88846bc05ad14a7d;hpb=046158a216e78a0412186ec8463157f6bce45d5d;p=tinc diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 0471932a..1fb37fcf 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -207,7 +207,7 @@ bool metakey_h(connection_t *c, char *request) { /* Decrypt the meta key */ if(!rsa_private_decrypt(&myself->connection->rsa, enckey, len, key)) { - logger(LOG_ERR, _("Error during encryption of meta key for %s (%s)"), c->name, c->hostname); + logger(LOG_ERR, _("Error during decryption of meta key for %s (%s)"), c->name, c->hostname); return false; }