Skip to content

Commit 7f91683

Browse files
committed
Addressed Copilot review comments
1 parent 86be75d commit 7f91683

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/encrypt/enc-test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ fi
185185
rm -f test-dec.der
186186
rm -f test-enc.der
187187

188-
# camellia: decrypt file of exactly MAX_LEN bytes (non-EVP path)
188+
# camellia: decrypt file whose size is a multiple of MAX_LEN (2 x 1024 bytes)
189+
# to ensure the exact-boundary read case is covered (non-EVP path)
189190
if grep -q "HAVE_CAMELLIA" wolfssl/wolfssl/options.h 2>/dev/null; then
190191
dd if=/dev/urandom bs=2048 count=1 of=test_maxlen_camellia.bin 2>/dev/null
191192
./wolfssl encrypt camellia-cbc-128 -pwd testpwd \

0 commit comments

Comments
 (0)