Don't print an error when no ECDSA key is known for a node using the legacy protocol.
This commit is contained in:
parent
c151cfa2e9
commit
be1446f5d0
1 changed files with 1 additions and 3 deletions
|
@ -86,10 +86,8 @@ bool node_read_ecdsa_public_key(node_t *n) {
|
||||||
|
|
||||||
fp = fopen(pubname, "r");
|
fp = fopen(pubname, "r");
|
||||||
|
|
||||||
if(!fp) {
|
if(!fp)
|
||||||
logger(DEBUG_ALWAYS, LOG_ERR, "Error reading ECDSA public key file `%s': %s", pubname, strerror(errno));
|
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
|
||||||
|
|
||||||
n->ecdsa = ecdsa_read_pem_public_key(fp);
|
n->ecdsa = ecdsa_read_pem_public_key(fp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
|
Loading…
Reference in a new issue