projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd6b0e6
)
Do not disconnect when no ecdsa key is known yet.
author
Sven-Haegar Koch
<haegar@sdinet.de>
Fri, 5 Dec 2014 01:41:55 +0000
(
02:41
+0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 7 Dec 2014 15:53:23 +0000
(16:53 +0100)
This is the normal case when we support the experimental protocol,
but the other side is a tinc 1.0 which does not.
src/protocol_auth.c
patch
|
blob
|
history
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index
ac486ea
..
73a591e
100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.c
@@
-379,8
+379,8
@@
bool id_h(connection_t *c, const char *request) {
}
if(experimental)
- if(!read_ecdsa_public_key(c))
- return false;
+ read_ecdsa_public_key(c);
+ /* Ignore failures if no key known yet */
} else {
if(c->protocol_minor && !ecdsa_active(c->ecdsa))
c->protocol_minor = 1;