mem_sec.c: relax POSIX requirement.
authorAndy Polyakov <appro@openssl.org>
Sun, 25 Feb 2018 15:56:26 +0000 (16:56 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 26 Feb 2018 16:52:20 +0000 (17:52 +0100)
commit4974a6f21b3e1aee969174fd20e2a68c36237e71
treefb275e28943a84a87f75c858e2fbdbd89df5c952
parent831dbc358eab0a50c1b435f93d7c16d99ad61472
mem_sec.c: relax POSIX requirement.

Even though mlock(2) was standardized in POSIX.1-2001, vendors did
implement it prior that point.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5460)

(cherry picked from commit 5839185cdd9b339ff741da437d964a25e72a3fb6)
crypto/mem_sec.c