summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshbuf-getput-basic.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-09-06 04:53:27 +0000
committerdjm <djm@openbsd.org>2019-09-06 04:53:27 +0000
commitd04a6061f0866a4ab36af18874a5686e578dcf04 (patch)
tree1fb44b41a1e1d09d85a4e70f23c0370b96692df4 /usr.bin/ssh/sshbuf-getput-basic.c
parentCheck for RSA support before using it for the user key, otherwise use (diff)
downloadwireguard-openbsd-d04a6061f0866a4ab36af18874a5686e578dcf04.tar.xz
wireguard-openbsd-d04a6061f0866a4ab36af18874a5686e578dcf04.zip
lots of things were relying on libcrypto headers to transitively
include various system headers (mostly stdlib.h); include them explicitly
Diffstat (limited to 'usr.bin/ssh/sshbuf-getput-basic.c')
-rw-r--r--usr.bin/ssh/sshbuf-getput-basic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshbuf-getput-basic.c b/usr.bin/ssh/sshbuf-getput-basic.c
index 5e9ebbb0ced..6687fb2a6b2 100644
--- a/usr.bin/ssh/sshbuf-getput-basic.c
+++ b/usr.bin/ssh/sshbuf-getput-basic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshbuf-getput-basic.c,v 1.8 2019/07/14 23:32:27 djm Exp $ */
+/* $OpenBSD: sshbuf-getput-basic.c,v 1.9 2019/09/06 04:53:27 djm Exp $ */
/*
* Copyright (c) 2011 Damien Miller
*
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <stdint.h>
#include "ssherr.h"
#define SSHBUF_INTERNAL