mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 07:48:52 +00:00
fix always true assertion
This commit is contained in:
parent
539d972a25
commit
1fef5ff5ec
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ static int unhexify(unsigned char *obuf, const char *ibuf)
|
|||
{
|
||||
unsigned char c, c2;
|
||||
int len = strlen(ibuf) / 2;
|
||||
assert(!(strlen(ibuf) %1)); // must be even number of bytes
|
||||
assert( strlen(ibuf) % 2 == 0 ); // must be even number of bytes
|
||||
|
||||
while (*ibuf != 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue