diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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]; |