projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c151cfa
)
Don't print an error when no ECDSA key is known for a node using the legacy protocol.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 8 Dec 2013 20:32:21 +0000
(21:32 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 8 Dec 2013 20:32:21 +0000
(21:32 +0100)
src/net_setup.c
patch
|
blob
|
history
diff --git
a/src/net_setup.c
b/src/net_setup.c
index c7f8faa3f49ac7faf5ee91572ff0de9abde3096a..98e6ece24397fa823daa4e33d8f2cf33b2b4ac52 100644
(file)
--- 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);