summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keysign.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/ssh-keysign.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/ssh-keysign.c')
-rw-r--r--usr.bin/ssh/ssh-keysign.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-keysign.c b/usr.bin/ssh/ssh-keysign.c
index 13b6137bf18..b11d1b0472c 100644
--- a/usr.bin/ssh/ssh-keysign.c
+++ b/usr.bin/ssh/ssh-keysign.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keysign.c,v 1.58 2019/06/14 03:28:19 djm Exp $ */
+/* $OpenBSD: ssh-keysign.c,v 1.59 2019/09/06 04:53:27 djm Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserved.
*
@@ -32,6 +32,7 @@
#include <paths.h>
#include <pwd.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>