mirror of https://github.com/wolfSSL/wolfssh.git
fix bug with skipping received unimplemented messages
parent
62d916d016
commit
d0c6768d5d
|
@ -1241,7 +1241,10 @@ static int DoPacket(WOLFSSH* ssh)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
WLOG(WS_LOG_DEBUG, "Unimplemented message ID (%d)", msg);
|
WLOG(WS_LOG_DEBUG, "Unimplemented message ID (%d)", msg);
|
||||||
|
#ifdef SHOW_UNIMPLEMENTED
|
||||||
DumpOctetString(buf + idx, payloadSz);
|
DumpOctetString(buf + idx, payloadSz);
|
||||||
|
#endif
|
||||||
|
idx += payloadSz;
|
||||||
SendUnimplemented(ssh);
|
SendUnimplemented(ssh);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue