]> git.meshlink.io Git - meshlink/commitdiff
Don't print an error when no ECDSA key is known for a node using the legacy protocol.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 8 Dec 2013 20:32:21 +0000 (21:32 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 8 Dec 2013 20:32:21 +0000 (21:32 +0100)
src/net_setup.c

index c7f8faa3f49ac7faf5ee91572ff0de9abde3096a..98e6ece24397fa823daa4e33d8f2cf33b2b4ac52 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);