projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c0a3f67
)
Don't forget to read public RSA key when making an outgoing connection.
author
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 31 Oct 2001 20:02:06 +0000
(20:02 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 31 Oct 2001 20:02:06 +0000
(20:02 +0000)
src/protocol.c
patch
|
blob
|
history
diff --git
a/src/protocol.c
b/src/protocol.c
index
7540e47
..
6cb8037
100644
(file)
--- a/
src/protocol.c
+++ b/
src/protocol.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: protocol.c,v 1.28.4.11
5 2001/10/31 12:50:24
guus Exp $
+ $Id: protocol.c,v 1.28.4.11
6 2001/10/31 20:02:06
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-232,11
+232,11
@@
cp
syslog(LOG_ERR, _("Peer %s had unknown identity (%s)"), c->hostname, c->name);
return -1;
}
syslog(LOG_ERR, _("Peer %s had unknown identity (%s)"), c->hostname, c->name);
return -1;
}
+ }
- if(read_rsa_public_key(c))
- {
- return -1;
- }
+ if(read_rsa_public_key(c))
+ {
+ return -1;
}
c->allow_request = METAKEY;
}
c->allow_request = METAKEY;