mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-03 00:02:05 +00:00
- (dtucker) [auth-shadow.c] Prevent compiler warnings if "DAY" is defined
by the system headers.
This commit is contained in:
parent
7a8619aebb
commit
a91f5ee618
@ -3,6 +3,8 @@
|
|||||||
ok dtucker@
|
ok dtucker@
|
||||||
- (dtucker) [ssh-rand-helper.c] Provide seed_rng since it may be called
|
- (dtucker) [ssh-rand-helper.c] Provide seed_rng since it may be called
|
||||||
via mkstemp in some configurations. ok djm@
|
via mkstemp in some configurations. ok djm@
|
||||||
|
- (dtucker) [auth-shadow.c] Prevent compiler warnings if "DAY" is defined
|
||||||
|
by the system headers.
|
||||||
|
|
||||||
20050215
|
20050215
|
||||||
- (dtucker) [config.sh.in] Collect oslevel -r too.
|
- (dtucker) [config.sh.in] Collect oslevel -r too.
|
||||||
@ -2137,4 +2139,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3655 2005/02/16 02:20:07 dtucker Exp $
|
$Id: ChangeLog,v 1.3656 2005/02/16 03:20:06 dtucker Exp $
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$Id: auth-shadow.c,v 1.5 2004/02/21 23:22:05 dtucker Exp $");
|
RCSID("$Id: auth-shadow.c,v 1.6 2005/02/16 03:20:06 dtucker Exp $");
|
||||||
|
|
||||||
#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
|
#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
@ -32,6 +32,9 @@ RCSID("$Id: auth-shadow.c,v 1.5 2004/02/21 23:22:05 dtucker Exp $");
|
|||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
|
#ifdef DAY
|
||||||
|
# undef DAY
|
||||||
|
#endif
|
||||||
#define DAY (24L * 60 * 60) /* 1 day in seconds */
|
#define DAY (24L * 60 * 60) /* 1 day in seconds */
|
||||||
|
|
||||||
extern Buffer loginmsg;
|
extern Buffer loginmsg;
|
||||||
|
Loading…
Reference in New Issue
Block a user