mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
fix always true assertion
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user