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:
c32fcdf
)
Fix a crash when we have a malformed public ECDSA key of another node.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 12 May 2014 13:56:29 +0000
(15:56 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 12 May 2014 13:56:29 +0000
(15:56 +0200)
src/protocol_auth.c
patch
|
blob
|
history
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index 52afa0969cffafbbc7342af42f1fda9c3ba5f6d3..0904afd3d53ed71887886c5f48335b36fd98fa2b 100644
(file)
--- a/
src/protocol_auth.c
+++ b/
src/protocol_auth.c
@@
-379,7
+379,8
@@
bool id_h(connection_t *c, const char *request) {
}
if(experimental)
- read_ecdsa_public_key(c);
+ if(!read_ecdsa_public_key(c))
+ return false;
} else {
if(c->protocol_minor && !ecdsa_active(c->ecdsa))
c->protocol_minor = 1;