diff options
author | Damien Miller <djm@mindrot.org> | 2003-06-04 14:56:15 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-06-04 14:56:15 +0200 |
commit | 0cbb9dea050942c643f739b79d0d9f30d75da213 (patch) | |
tree | 4d563c716e9ecbf0ef3c7c3b2e872f7d87813483 /sshd.c | |
parent | - djm@cvs.openbsd.org 2003/06/04 12:41:22 (diff) | |
download | openssh-0cbb9dea050942c643f739b79d0d9f30d75da213.tar.xz openssh-0cbb9dea050942c643f739b79d0d9f30d75da213.zip |
- (djm) Always use mysignal() for SIGALRM
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1373,7 +1373,7 @@ main(int ac, char **av) if ((options.protocol & SSH_PROTO_1) && key_used == 0) { /* Schedule server key regeneration alarm. */ - signal(SIGALRM, key_regeneration_alarm); + mysignal(SIGALRM, key_regeneration_alarm); alarm(options.key_regeneration_time); key_used = 1; } @@ -1462,7 +1462,7 @@ main(int ac, char **av) * mode; it is just annoying to have the server exit just when you * are about to discover the bug. */ - signal(SIGALRM, grace_alarm_handler); + mysignal(SIGALRM, grace_alarm_handler); if (!debug_flag) alarm(options.login_grace_time); |