Add missing AM_PROG_CC_C_O to configure.ac.
[tinc] / src / protocol_key.c
index b55e830..301ead5 100644 (file)
@@ -1,7 +1,7 @@
 /*
     protocol_key.c -- handle the meta-protocol, key exchange
     Copyright (C) 1999-2005 Ivo Timmermans,
-                  2000-2012 Guus Sliepen <guus@tinc-vpn.org>
+                  2000-2014 Guus Sliepen <guus@tinc-vpn.org>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -159,7 +159,7 @@ bool send_ans_key(node_t *to) {
        // Create a new key
        if (1 != RAND_bytes((unsigned char *)to->inkey, to->inkeylength)) {
                int err = ERR_get_error();
-               logger(LOG_ERR, "Failed to generate random for key (%s)", "SEND_ANS_KEY", ERR_error_string(err, NULL));
+               logger(LOG_ERR, "Failed to generate random for key (%s)", ERR_error_string(err, NULL));
                return false; // Do not send insecure keys, let connection attempt fail.
        }