diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-12-06 16:48:14 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-12-06 16:48:14 +0000 |
commit | 5e71c54b8c642f0aa5273dfcff75c8a8def820dd (patch) | |
tree | 7603d371661f86b6f8206b53d2aaa9584943af54 /sshd.c | |
parent | 28c603bf438eb44092490cfd8e2979987a846f06 (diff) |
- markus@cvs.openbsd.org 2001/11/22 12:34:22
[clientloop.c serverloop.c sshd.c]
volatile sig_atomic_t
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]; |