mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-03 19:10:14 +08:00
Add headers to prevent warnings w/out OpenSSL.
This commit is contained in:
parent
2ea60312e1
commit
9634ffbf29
@ -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"
|
||||
|
1
kexgen.c
1
kexgen.c
@ -27,6 +27,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
|
@ -163,6 +163,7 @@
|
||||
#endif
|
||||
#include <pwd.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "includes.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "log.h"
|
||||
|
@ -31,6 +31,7 @@
|
||||
#endif
|
||||
#include <pwd.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user