Tweak sec_mem tests
authorTodd Short <tshort@akamai.com>
Fri, 12 May 2017 20:46:39 +0000 (16:46 -0400)
committerRich Salz <rsalz@openssl.org>
Sun, 21 May 2017 00:54:04 +0000 (20:54 -0400)
commitc8e89d58a5d44b9dd657d6d13a5a10d1d4d30733
treed7939a71f01523ca18ab95c31938097c99d03be9
parent2117a737f379166856723546eba569e8f1050891
Tweak sec_mem tests

Remove assertion when mmap() fails.
Only run the 1<<31 limit test on Linux

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3455)
crypto/mem_sec.c
test/secmemtest.c