mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 11:05:47 +01:00
fix always true assertion
This commit is contained in:
parent
539d972a25
commit
1fef5ff5ec
@ -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 New Issue
Block a user