Fix a crash when we have a malformed public ECDSA key of another node.
This commit is contained in:
parent
c32fcdfc1d
commit
c35bfa18ec
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue