summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authormiod@openbsd.org <miod@openbsd.org>2015-04-05 15:43:43 +0000
committerDamien Miller <djm@mindrot.org>2015-04-13 14:37:17 +1000
commitc265e2e6e932efc6d86f6cc885dea33637a67564 (patch)
tree2bcdf89f5b1e87ae755358497e86a71516d6d1cd /ssh-keyscan.c
parente7bf3a5eda6a1b02bef6096fed78527ee11e54cc (diff)
upstream commit
Do not use int for sig_atomic_t; spotted by christos@netbsd; ok markus@
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index c5fb3b524..61b4ca568 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keyscan.c,v 1.99 2015/01/30 10:44:49 djm Exp $ */ 1/* $OpenBSD: ssh-keyscan.c,v 1.100 2015/04/05 15:43:43 miod Exp $ */
2/* 2/*
3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. 3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
4 * 4 *
@@ -94,7 +94,7 @@ typedef struct Connection {
94 int c_len; /* Total bytes which must be read. */ 94 int c_len; /* Total bytes which must be read. */
95 int c_off; /* Length of data read so far. */ 95 int c_off; /* Length of data read so far. */
96 int c_keytype; /* Only one of KT_RSA1, KT_DSA, or KT_RSA */ 96 int c_keytype; /* Only one of KT_RSA1, KT_DSA, or KT_RSA */
97 int c_done; /* SSH2 done */ 97 sig_atomic_t c_done; /* SSH2 done */
98 char *c_namebase; /* Address to free for c_name and c_namelist */ 98 char *c_namebase; /* Address to free for c_name and c_namelist */
99 char *c_name; /* Hostname of connection for errors */ 99 char *c_name; /* Hostname of connection for errors */
100 char *c_namelist; /* Pointer to other possible addresses */ 100 char *c_namelist; /* Pointer to other possible addresses */