projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix building with --disable-legacy-protocol.
[oweals/tinc.git]
/
src
/
protocol_key.c
diff --git
a/src/protocol_key.c
b/src/protocol_key.c
index 58a3bd207c87b4ba25bbb1180d34542eb2851093..d9c58d9516167f40a257153f9552598459cca900 100644
(file)
--- a/
src/protocol_key.c
+++ b/
src/protocol_key.c
@@
-34,7
+34,9
@@
#include "utils.h"
#include "xalloc.h"
+#ifndef DISABLE_LEGACY
static bool mykeyused = false;
+#endif
void send_key_changed(void) {
#ifndef DISABLE_LEGACY