projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When emitting SSH_MSG_IGNORE to protect against known-IV attacks on CBC,
[u/mdw/putty]
/
raw.c
diff --git
a/raw.c
b/raw.c
index
28da09f
..
d64b6d7
100644
(file)
--- a/
raw.c
+++ b/
raw.c
@@
-209,10
+209,10
@@
static const struct telnet_special *raw_get_specials(void *handle)
return NULL;
}
return NULL;
}
-static
Socket raw_socket
(void *handle)
+static
int raw_connected
(void *handle)
{
Raw raw = (Raw) handle;
{
Raw raw = (Raw) handle;
- return raw->s;
+ return raw->s
!= NULL
;
}
static int raw_sendok(void *handle)
}
static int raw_sendok(void *handle)
@@
-270,7
+270,7
@@
Backend raw_backend = {
raw_size,
raw_special,
raw_get_specials,
raw_size,
raw_special,
raw_get_specials,
- raw_
socket
,
+ raw_
connected
,
raw_exitcode,
raw_sendok,
raw_ldisc,
raw_exitcode,
raw_sendok,
raw_ldisc,