diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | clientloop.c | 6 | ||||
-rw-r--r-- | serverloop.c | 4 | ||||
-rw-r--r-- | sshd.c | 8 |
4 files changed, 13 insertions, 10 deletions
@@ -29,6 +29,9 @@ | |||
29 | - stevesk@cvs.openbsd.org 2001/11/22 05:27:29 | 29 | - stevesk@cvs.openbsd.org 2001/11/22 05:27:29 |
30 | [ssh-keyscan.c] | 30 | [ssh-keyscan.c] |
31 | don't use "\n" in fatal() | 31 | don't use "\n" in fatal() |
32 | - markus@cvs.openbsd.org 2001/11/22 12:34:22 | ||
33 | [clientloop.c serverloop.c sshd.c] | ||
34 | volatile sig_atomic_t | ||
32 | 35 | ||
33 | 20011126 | 36 | 20011126 |
34 | - (tim) [contrib/cygwin/README, openbsd-compat/bsd-cygwin_util.c, | 37 | - (tim) [contrib/cygwin/README, openbsd-compat/bsd-cygwin_util.c, |
@@ -6951,4 +6954,4 @@ | |||
6951 | - Wrote replacements for strlcpy and mkdtemp | 6954 | - Wrote replacements for strlcpy and mkdtemp |
6952 | - Released 1.0pre1 | 6955 | - Released 1.0pre1 |
6953 | 6956 | ||
6954 | $Id: ChangeLog,v 1.1675 2001/12/06 16:45:10 mouring Exp $ | 6957 | $Id: ChangeLog,v 1.1676 2001/12/06 16:48:14 mouring Exp $ |
diff --git a/clientloop.c b/clientloop.c index cbcb1d199..fcd6afdf6 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -59,7 +59,7 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include "includes.h" | 61 | #include "includes.h" |
62 | RCSID("$OpenBSD: clientloop.c,v 1.87 2001/11/09 18:59:23 markus Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.88 2001/11/22 12:34:22 markus Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -101,8 +101,8 @@ extern char *host; | |||
101 | * window size to be sent to the server a little later. This is volatile | 101 | * window size to be sent to the server a little later. This is volatile |
102 | * because this is updated in a signal handler. | 102 | * because this is updated in a signal handler. |
103 | */ | 103 | */ |
104 | static volatile int received_window_change_signal = 0; | 104 | static volatile sig_atomic_t received_window_change_signal = 0; |
105 | static volatile int received_signal = 0; | 105 | static volatile sig_atomic_t received_signal = 0; |
106 | 106 | ||
107 | /* Flag indicating whether the user\'s terminal is in non-blocking mode. */ | 107 | /* Flag indicating whether the user\'s terminal is in non-blocking mode. */ |
108 | static int in_non_blocking_mode = 0; | 108 | static int in_non_blocking_mode = 0; |
diff --git a/serverloop.c b/serverloop.c index 0da805f09..fd1154157 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: serverloop.c,v 1.83 2001/11/09 18:59:23 markus Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.84 2001/11/22 12:34:22 markus Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -87,7 +87,7 @@ static int client_alive_timeouts = 0; | |||
87 | * will exit after that, as soon as forwarded connections have terminated. | 87 | * will exit after that, as soon as forwarded connections have terminated. |
88 | */ | 88 | */ |
89 | 89 | ||
90 | static volatile int child_terminated; /* The child has terminated. */ | 90 | static volatile sig_atomic_t child_terminated = 0; /* The child has terminated. */ |
91 | 91 | ||
92 | /* prototypes */ | 92 | /* prototypes */ |
93 | static void server_init_dispatch(void); | 93 | static void server_init_dispatch(void); |
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: sshd.c,v 1.211 2001/11/19 11:20:21 markus Exp $"); | 43 | RCSID("$OpenBSD: sshd.c,v 1.212 2001/11/22 12:34:22 markus Exp $"); |
44 | 44 | ||
45 | #include <openssl/dh.h> | 45 | #include <openssl/dh.h> |
46 | #include <openssl/bn.h> | 46 | #include <openssl/bn.h> |
@@ -169,11 +169,11 @@ struct { | |||
169 | * Flag indicating whether the RSA server key needs to be regenerated. | 169 | * Flag indicating whether the RSA server key needs to be regenerated. |
170 | * Is set in the SIGALRM handler and cleared when the key is regenerated. | 170 | * Is set in the SIGALRM handler and cleared when the key is regenerated. |
171 | */ | 171 | */ |
172 | int key_do_regen = 0; | 172 | static volatile sig_atomic_t key_do_regen = 0; |
173 | 173 | ||
174 | /* This is set to true when a signal is received. */ | 174 | /* This is set to true when a signal is received. */ |
175 | int received_sighup = 0; | 175 | static volatile sig_atomic_t received_sighup = 0; |
176 | int received_sigterm = 0; | 176 | static volatile sig_atomic_t received_sigterm = 0; |
177 | 177 | ||
178 | /* session identifier, used by RSA-auth */ | 178 | /* session identifier, used by RSA-auth */ |
179 | u_char session_id[16]; | 179 | u_char session_id[16]; |