Don't print an error when no ECDSA key is known for a node using the legacy protocol.
[tinc] / src / net_setup.c
index c7f8faa..98e6ece 100644 (file)
@@ -86,10 +86,8 @@ bool node_read_ecdsa_public_key(node_t *n) {
 
        fp = fopen(pubname, "r");
 
-       if(!fp) {
-               logger(DEBUG_ALWAYS, LOG_ERR, "Error reading ECDSA public key file `%s': %s", pubname, strerror(errno));
+       if(!fp)
                goto exit;
-       }
 
        n->ecdsa = ecdsa_read_pem_public_key(fp);
        fclose(fp);