summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sshd.c b/sshd.c
index dc4f52322..5a09598c0 100644
--- a/sshd.c
+++ b/sshd.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: sshd.c,v 1.211 2001/11/19 11:20:21 markus Exp $"); 43RCSID("$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 */
172int key_do_regen = 0; 172static 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. */
175int received_sighup = 0; 175static volatile sig_atomic_t received_sighup = 0;
176int received_sigterm = 0; 176static volatile sig_atomic_t received_sigterm = 0;
177 177
178/* session identifier, used by RSA-auth */ 178/* session identifier, used by RSA-auth */
179u_char session_id[16]; 179u_char session_id[16];