diff options
author | 2020-01-25 23:28:06 +0000 | |
---|---|---|
committer | 2020-01-25 23:28:06 +0000 | |
commit | bb3c2609a8abc788209e2d9e3b3a967b1bfc9f3b (patch) | |
tree | a85b8130bf47ccdb930fdf95c5ed423f636235fb /usr.bin/ssh/sshbuf-misc.c | |
parent | improve the error message for u2f enrollment errors by making (diff) | |
download | wireguard-openbsd-bb3c2609a8abc788209e2d9e3b3a967b1bfc9f3b.tar.xz wireguard-openbsd-bb3c2609a8abc788209e2d9e3b3a967b1bfc9f3b.zip |
tidy headers; some junk snuck into sshbuf-misc.c and sshbuf-io.c
doesn't need SSHBUF_INTERNAL set
Diffstat (limited to 'usr.bin/ssh/sshbuf-misc.c')
-rw-r--r-- | usr.bin/ssh/sshbuf-misc.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/usr.bin/ssh/sshbuf-misc.c b/usr.bin/ssh/sshbuf-misc.c index 20234b97321..af02fe69e3f 100644 --- a/usr.bin/ssh/sshbuf-misc.c +++ b/usr.bin/ssh/sshbuf-misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshbuf-misc.c,v 1.12 2020/01/25 23:02:14 djm Exp $ */ +/* $OpenBSD: sshbuf-misc.c,v 1.13 2020/01/25 23:28:06 djm Exp $ */ /* * Copyright (c) 2011 Damien Miller * @@ -17,24 +17,19 @@ #include <sys/types.h> #include <sys/socket.h> -#include <sys/stat.h> #include <netinet/in.h> - -#include <ctype.h> #include <errno.h> -#include <fcntl.h> -#include <limits.h> -#include <resolv.h> +#include <stdlib.h> #include <stdint.h> #include <stdio.h> -#include <stdlib.h> +#include <limits.h> #include <string.h> -#include <unistd.h> +#include <resolv.h> +#include <ctype.h> #include "ssherr.h" #define SSHBUF_INTERNAL #include "sshbuf.h" -#include "atomicio.h" void sshbuf_dump_data(const void *s, size_t len, FILE *f) |