diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-07-23 22:25:44 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-07-23 22:26:20 +1000 |
commit | 9634ffbf29b3c2493e69d10b37077b09a8cbf5ff (patch) | |
tree | 74f29fc321cd0dc93abf18626e083d53e1a0fd01 | |
parent | 2ea60312e1c08dea88982fec68244f89a40912ff (diff) |
Add headers to prevent warnings w/out OpenSSL.
-rw-r--r-- | auth2-passwd.c | 1 | ||||
-rw-r--r-- | entropy.c | 4 | ||||
-rw-r--r-- | kexecdh.c | 2 | ||||
-rw-r--r-- | kexgen.c | 1 | ||||
-rw-r--r-- | loginrec.c | 1 | ||||
-rw-r--r-- | platform.c | 1 | ||||
-rw-r--r-- | ssh-keysign.c | 1 | ||||
-rw-r--r-- | ssh-pkcs11.c | 8 |
8 files changed, 19 insertions, 0 deletions
diff --git a/auth2-passwd.c b/auth2-passwd.c index 0395a69f4..f696abc21 100644 --- a/auth2-passwd.c +++ b/auth2-passwd.c @@ -29,6 +29,7 @@ #include <string.h> #include <stdarg.h> +#include <stdio.h> #include "packet.h" #include "ssherr.h" @@ -39,6 +39,7 @@ #include <errno.h> #include <signal.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> #include <stddef.h> /* for offsetof */ @@ -248,6 +249,9 @@ seed_rng(void) #else /* WITH_OPENSSL */ +#include <stdlib.h> +#include <string.h> + /* Acutal initialisation is handled in arc4random() */ void seed_rng(void) @@ -211,6 +211,8 @@ kex_ecdh_dec(struct kex *kex, const struct sshbuf *server_blob, #else +#include <stdio.h> + #include "sshkey.h" #include "kex.h" #include "ssherr.h" @@ -27,6 +27,7 @@ #include <sys/types.h> +#include <stdarg.h> #include <stdio.h> #include <string.h> #include <signal.h> diff --git a/loginrec.c b/loginrec.c index 5f2a47797..93e48d517 100644 --- a/loginrec.c +++ b/loginrec.c @@ -163,6 +163,7 @@ #endif #include <pwd.h> #include <stdarg.h> +#include <stdio.h> #include <string.h> #include <time.h> #include <unistd.h> diff --git a/platform.c b/platform.c index 41acc9370..44ba71dc5 100644 --- a/platform.c +++ b/platform.c @@ -17,6 +17,7 @@ #include "includes.h" #include <stdarg.h> +#include <stdio.h> #include <unistd.h> #include "log.h" diff --git a/ssh-keysign.c b/ssh-keysign.c index 7c14cde8a..a4a1b8c21 100644 --- a/ssh-keysign.c +++ b/ssh-keysign.c @@ -31,6 +31,7 @@ #endif #include <pwd.h> #include <stdarg.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c index d9413bc4f..45ab80d0a 100644 --- a/ssh-pkcs11.c +++ b/ssh-pkcs11.c @@ -1789,6 +1789,14 @@ out: } #endif /* WITH_PKCS11_KEYGEN */ #else /* ENABLE_PKCS11 */ + +#include <sys/types.h> +#include <stdarg.h> +#include <stdio.h> + +#include "log.h" +#include "sshkey.h" + int pkcs11_init(int interactive) { |