mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-09 23:26:29 -04: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;
|
unsigned char c, c2;
|
||||||
int len = strlen(ibuf) / 2;
|
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)
|
while (*ibuf != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user