summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordtucker <dtucker>2008-06-13 23:01:24 +0000
committerdtucker <dtucker>2008-06-13 23:01:24 +0000
commitfbdd777f84f783e1a77c093e753f89afa7f8c8dd (patch)
tree433839b0a6067b55c2946449d553261cd90189b1
parent951b8b76d85e566406ca48b559871ba05f83c548 (diff)
downloadopenssh-fbdd777f84f783e1a77c093e753f89afa7f8c8dd.tar.gz
- dtucker@cvs.openbsd.org 2008/06/13 14:18:51
[auth2-pubkey.c auth-rhosts.c] Include unistd.h for close(), prevents warnings in -portable
-rw-r--r--ChangeLog5
-rw-r--r--auth-rhosts.c3
-rw-r--r--auth2-pubkey.c3
3 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 362febe6..8b18aea3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
applying additional restrictions to non-pubkey authentications in
the case where pubkey fails but another method subsequently succeeds.
bz #1472, found by Colin Watson, ok markus@ djm@
+ - dtucker@cvs.openbsd.org 2008/06/13 14:18:51
+ [auth2-pubkey.c auth-rhosts.c]
+ Include unistd.h for close(), prevents warnings in -portable
20080612
- (dtucker) OpenBSD CVS Sync
@@ -4347,4 +4350,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
-$Id: ChangeLog,v 1.5005 2008/06/13 22:59:49 dtucker Exp $
+$Id: ChangeLog,v 1.5006 2008/06/13 23:01:24 dtucker Exp $
diff --git a/auth-rhosts.c b/auth-rhosts.c
index bbddfb6d..5c129670 100644
--- a/auth-rhosts.c
+++ b/auth-rhosts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-rhosts.c,v 1.42 2008/06/13 04:40:22 djm Exp $ */
+/* $OpenBSD: auth-rhosts.c,v 1.43 2008/06/13 14:18:51 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -27,6 +27,7 @@
#include <string.h>
#include <stdarg.h>
#include <fcntl.h>
+#include <unistd.h>
#include "packet.h"
#include "buffer.h"
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 7f7ddd8c..30651500 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-pubkey.c,v 1.16 2008/06/13 04:40:22 djm Exp $ */
+/* $OpenBSD: auth2-pubkey.c,v 1.17 2008/06/13 14:18:51 dtucker Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -32,6 +32,7 @@
#include <pwd.h>
#include <stdio.h>
#include <stdarg.h>
+#include <unistd.h>
#include "xmalloc.h"
#include "ssh.h"