SM2解密时,兼容GmSSL非压缩省略的04头的密文

This commit is contained in:
Looly
2024-09-05 13:23:37 +08:00
parent c9cac93337
commit 38911594c8
7 changed files with 146 additions and 21 deletions

View File

@@ -34,4 +34,9 @@ public class ConvertToBooleanTest {
Assertions.assertFalse(bool);
}
@Test
void toBooleanWithDefaultTest() {
Assertions.assertFalse(ConvertUtil.toBoolean("ddddd", false));
}
}