mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
[]: update all examples and tests
This commit is contained in:
@@ -70,7 +70,7 @@ pub fn (x mut AesCbc) encrypt_blocks(dst mut []byte, src_ []byte) {
|
||||
// Move to the next block with this block as the next iv.
|
||||
iv = dst[..x.block_size]
|
||||
if x.block_size >= src.len {
|
||||
src = []byte
|
||||
src = []
|
||||
} else {
|
||||
src = src[x.block_size..]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user