summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-01-27 23:06:23 +1100
committerDamien Miller <djm@mindrot.org>2015-01-27 23:06:23 +1100
commitade31d7b6f608a19b85bee29a7a00b1e636a2919 (patch)
tree1a150d0fe9460f4983782adba1eecdc27b1bc124
parente56aa87502f22c5844918c10190e8b4f785f067b (diff)
these need active_state defined to link on OSX
temporary measure until active_state goes away entirely
-rw-r--r--regress/unittests/kex/test_kex.c2
-rw-r--r--ssh-keyscan.c2
-rw-r--r--ssh-keysign.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/regress/unittests/kex/test_kex.c b/regress/unittests/kex/test_kex.c
index 72a11f2c6..762f524fb 100644
--- a/regress/unittests/kex/test_kex.c
+++ b/regress/unittests/kex/test_kex.c
@@ -20,6 +20,8 @@
#include "packet.h"
#include "myproposal.h"
+struct ssh *active_state = NULL; /* XXX - needed for linking */
+
void kex_tests(void);
static int do_debug = 0;
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 62dbd62fa..25a257cc2 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -77,6 +77,8 @@ fd_set *read_wait;
size_t read_wait_nfdset;
int ncon;
+struct ssh *active_state = NULL; /* XXX needed for linking */
+
/*
* Keep a connection structure for each file descriptor. The state
* associated with file descriptor n is held in fdcon[n].
diff --git a/ssh-keysign.c b/ssh-keysign.c
index 8af13fa89..222327ef1 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -57,6 +57,8 @@
#include "sshkey.h"
#include "ssherr.h"
+struct ssh *active_state = NULL; /* XXX needed for linking */
+
/* XXX readconf.c needs these */
uid_t original_real_uid;