From be1446f5d0e8831b60ea473a5b7b9ba40f18986e Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 8 Dec 2013 21:32:21 +0100 Subject: [PATCH] Don't print an error when no ECDSA key is known for a node using the legacy protocol. --- src/net_setup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/net_setup.c b/src/net_setup.c index c7f8faa3..98e6ece2 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -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); -- 2.39.5