unit-tests: don't use ck_assert() to test a cleared chunk, as it allocates data
authorMartin Willi <martin@revosec.ch>
Tue, 11 Jun 2013 16:29:49 +0000 (18:29 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 21 Jun 2013 08:53:22 +0000 (10:53 +0200)
commit44886a06671c7d74a503e5e8a2fcaf7ffa72a985
tree0d68d192719498318c406b42ca23e3ff1316c268
parent52bff138485398af31afb81496a2fb58004dfb27
unit-tests: don't use ck_assert() to test a cleared chunk, as it allocates data

The new allocation might be in the freed area, affecting the test result.
src/libstrongswan/tests/test_chunk.c