one byte for future use
This commit is contained in:
parent
f7b35defc9
commit
fdb038c7c9
@ -330,7 +330,7 @@ impl Encrypt {
|
||||
}
|
||||
|
||||
pub fn dec(&mut self, bytes: &mut BytesMut) -> Result<(), Error> {
|
||||
if bytes.is_empty() {
|
||||
if bytes.len() <= 1 {
|
||||
return Ok(());
|
||||
}
|
||||
self.2 += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user