summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/auth.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/auth.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/auth.c')
-rw-r--r--usr.bin/ssh/auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c
index 50902095382..b25e256260b 100644
--- a/usr.bin/ssh/auth.c
+++ b/usr.bin/ssh/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.139 2019/06/28 13:35:04 deraadt Exp $ */
+/* $OpenBSD: auth.c,v 1.140 2019/09/06 04:53:27 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -28,6 +28,7 @@
#include <sys/socket.h>
#include <sys/wait.h>
+#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <login_cap.h>