mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
common session initialiser doesn't need to call
chansessioninnitialise(), fix up header definition --HG-- extra : convert_revision : 580bc5e6e1413daf46156a181259c244ce1ab174
This commit is contained in:
parent
21c4cd7cb2
commit
e7f579b75d
@ -96,7 +96,7 @@ struct ChanType {
|
||||
|
||||
};
|
||||
|
||||
void chaninitialise();
|
||||
void chaninitialise(const struct ChanType *chantypes[]);
|
||||
void chancleanup();
|
||||
void setchannelfds(fd_set *readfd, fd_set *writefd);
|
||||
void channelio(fd_set *readfd, fd_set *writefd);
|
||||
|
@ -62,7 +62,6 @@ void common_session_init(int sock, char* remotehost) {
|
||||
ses.connecttimeout = 0;
|
||||
|
||||
kexfirstinitialise(); /* initialise the kex state */
|
||||
chaninitialise(); /* initialise the channel state */
|
||||
|
||||
ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN);
|
||||
ses.transseq = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user