diff options
-rw-r--r-- | regress/unittests/kex/test_kex.c | 2 | ||||
-rw-r--r-- | ssh-keyscan.c | 2 | ||||
-rw-r--r-- | ssh-keysign.c | 2 |
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 @@ | |||
20 | #include "packet.h" | 20 | #include "packet.h" |
21 | #include "myproposal.h" | 21 | #include "myproposal.h" |
22 | 22 | ||
23 | struct ssh *active_state = NULL; /* XXX - needed for linking */ | ||
24 | |||
23 | void kex_tests(void); | 25 | void kex_tests(void); |
24 | static int do_debug = 0; | 26 | static int do_debug = 0; |
25 | 27 | ||
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; | |||
77 | size_t read_wait_nfdset; | 77 | size_t read_wait_nfdset; |
78 | int ncon; | 78 | int ncon; |
79 | 79 | ||
80 | struct ssh *active_state = NULL; /* XXX needed for linking */ | ||
81 | |||
80 | /* | 82 | /* |
81 | * Keep a connection structure for each file descriptor. The state | 83 | * Keep a connection structure for each file descriptor. The state |
82 | * associated with file descriptor n is held in fdcon[n]. | 84 | * 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 @@ | |||
57 | #include "sshkey.h" | 57 | #include "sshkey.h" |
58 | #include "ssherr.h" | 58 | #include "ssherr.h" |
59 | 59 | ||
60 | struct ssh *active_state = NULL; /* XXX needed for linking */ | ||
61 | |||
60 | /* XXX readconf.c needs these */ | 62 | /* XXX readconf.c needs these */ |
61 | uid_t original_real_uid; | 63 | uid_t original_real_uid; |
62 | 64 | ||