version 1.28, 2001/08/27 22:02:13 |
version 1.29, 2001/08/30 22:22:32 |
|
|
int ncon; |
int ncon; |
int nonfatal_fatal = 0; |
int nonfatal_fatal = 0; |
jmp_buf kexjmp; |
jmp_buf kexjmp; |
|
Key *kexjmp_key; |
|
|
/* |
/* |
* Keep a connection structure for each file descriptor. The state |
* Keep a connection structure for each file descriptor. The state |
|
|
static int |
static int |
hostjump(Key *hostkey) |
hostjump(Key *hostkey) |
{ |
{ |
longjmp(kexjmp, (int)hostkey); |
kexjmp_key = hostkey; |
|
longjmp(kexjmp, 1); |
} |
} |
|
|
static int |
static int |
|
|
xfree(c->c_kex); |
xfree(c->c_kex); |
c->c_kex = NULL; |
c->c_kex = NULL; |
packet_close(); |
packet_close(); |
if (j < 0) |
|
j = 0; |
|
|
|
return (Key*)(j); |
return j < 0? NULL : kexjmp_key; |
} |
} |
|
|
static void |
static void |