]> git.codecow.com Git - Monocypher.git/commit
Fixed small undefined behaviour in tests
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 28 Jan 2018 23:36:24 +0000 (00:36 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 28 Jan 2018 23:36:24 +0000 (00:36 +0100)
commit7b4145adb20fa43307b0eb9f5bca397a2d916e63
treece7cc3740d9e12786bfaec53ec0be5920756606f
parentd7bb73f65a852b4748097c4c7bfcf9d39ed2b7df
Fixed small undefined behaviour in tests

Apparently we cannot memcmp() null pointers, even when the size is zero.
tests/test.c