Skip to content

Commit d8e9584

Browse files
Update tests/api/test_ossl_bn.c
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d470c1c commit d8e9584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/api/test_ossl_bn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ int test_wolfSSL_BN_enc_dec(void)
346346
/* Exact size (no padding needed) */
347347
ExpectIntEQ(BN_bn2binpad(a, padOut, 1), 1);
348348
ExpectIntEQ(padOut[0], 0x02);
349-
/* Zero-length for zero value */
349+
/* Zero value padded to 3 bytes */
350350
ExpectIntEQ(BN_set_word(a, 0), 1);
351351
ExpectIntEQ(BN_bn2binpad(a, padOut, 3), 3);
352352
ExpectIntEQ(padOut[0], 0x00);

0 commit comments

Comments
 (0)