X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fprotocol_auth.c;h=0904afd3d53ed71887886c5f48335b36fd98fa2b;hb=35437a50e2a46861742b6fb8e49d065aa52a04dc;hp=04674e8dc9e8ff5758844e665c3ceb5fe7033741;hpb=995444c4f96bafecf7fb5d59510b3034459cf85c;p=tinc diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 04674e8d..0904afd3 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -1,7 +1,7 @@ /* protocol_auth.c -- handle the meta-protocol, authentication Copyright (C) 1999-2005 Ivo Timmermans, - 2000-2013 Guus Sliepen + 2000-2014 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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;