Attribution for Martin Schürrer.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 30 Sep 2012 11:45:39 +0000 (13:45 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 30 Sep 2012 11:45:39 +0000 (13:45 +0200)
THANKS
src/protocol_auth.c

diff --git a/THANKS b/THANKS
index 8da657c..42b1c0a 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -27,6 +27,7 @@ We would like to thank the following people for their contributions to tinc:
 * Mark Glines
 * Markus Goetz
 * Martin Kihlgren
 * Mark Glines
 * Markus Goetz
 * Martin Kihlgren
+* Martin Schürrer
 * Matias Carrasco
 * Max Rijevski
 * Menno Smits
 * Matias Carrasco
 * Max Rijevski
 * Menno Smits
index d5b702d..0ef5468 100644 (file)
@@ -244,7 +244,7 @@ bool send_metakey(connection_t *c) {
         */
 
        if(RSA_public_encrypt(len, (unsigned char *)c->outkey, (unsigned char *)buffer, c->rsa_key, RSA_NO_PADDING) != len) {
         */
 
        if(RSA_public_encrypt(len, (unsigned char *)c->outkey, (unsigned char *)buffer, c->rsa_key, RSA_NO_PADDING) != len) {
-               logger(LOG_ERR, "Error during encryption of meta key for %s (%s) %s",
+               logger(LOG_ERR, "Error during encryption of meta key for %s (%s): %s",
                           c->name, c->hostname, ERR_error_string(ERR_get_error(), NULL));
                return false;
        }
                           c->name, c->hostname, ERR_error_string(ERR_get_error(), NULL));
                return false;
        }
@@ -313,7 +313,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() */
        /* 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 decryption of meta key for %s (%s) %s",
+               logger(LOG_ERR, "Error during decryption of meta key for %s (%s): %s",
                           c->name, c->hostname, ERR_error_string(ERR_get_error(), NULL));
                return false;
        }
                           c->name, c->hostname, ERR_error_string(ERR_get_error(), NULL));
                return false;
        }