X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=59cab66f85aced6f7947344cfd258924891adac0;hp=0efeceb2037e10a24cfcc1488276d56dd83e4a6b;hb=38c2d6c1dae3f09c68baa37fd24caa2e0ec6d8ad;hpb=480dd127c8a539036ff82a3810a0ad83136944f8 diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 0efeceb2..59cab66f 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -240,7 +240,7 @@ bool metakey_h(connection_t *c) /* Decrypt the meta key */ if(RSA_private_decrypt(len, (unsigned char *)buffer, (unsigned char *)c->inkey, myself->connection->rsa_key, RSA_NO_PADDING) != len) { /* See challenge() */ - logger(LOG_ERR, _("Error during encryption of meta key for %s (%s)"), + logger(LOG_ERR, _("Error during decryption of meta key for %s (%s)"), c->name, c->hostname); return false; }