[ssh-agent.c]
     Make parent_alive_interval time_t to avoid signed/unsigned comparison
This commit is contained in:
Darren Tucker 2013-06-02 23:47:11 +10:00
parent 00e1abb1eb
commit 073f795bc1
2 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,9 @@
- dtucker@cvs.openbsd.org 2013/06/02 13:33:05 - dtucker@cvs.openbsd.org 2013/06/02 13:33:05
[progressmeter.c] [progressmeter.c]
Add misc.h for monotime prototype. (ID sync only). Add misc.h for monotime prototype. (ID sync only).
- dtucker@cvs.openbsd.org 2013/06/02 13:35:58
[ssh-agent.c]
Make parent_alive_interval time_t to avoid signed/unsigned comparison
20130601 20130601
- (dtucker) [configure.ac openbsd-compat/xcrypt.c] bz#2112: fall back to - (dtucker) [configure.ac openbsd-compat/xcrypt.c] bz#2112: fall back to

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ssh-agent.c,v 1.175 2013/06/01 13:15:52 dtucker Exp $ */ /* $OpenBSD: ssh-agent.c,v 1.176 2013/06/02 13:35:58 dtucker Exp $ */
/* /*
* Author: Tatu Ylonen <ylo@cs.hut.fi> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -122,7 +122,7 @@ int max_fd = 0;
/* pid of shell == parent of agent */ /* pid of shell == parent of agent */
pid_t parent_pid = -1; pid_t parent_pid = -1;
u_int parent_alive_interval = 0; time_t parent_alive_interval = 0;
/* pathname and directory for AUTH_SOCKET */ /* pathname and directory for AUTH_SOCKET */
char socket_name[MAXPATHLEN]; char socket_name[MAXPATHLEN];