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:50:52 +0000 (17:50 +0100)
commit5839185cdd9b339ff741da437d964a25e72a3fb6
tree81b8f6725d9e5c09b71298371d4e6014fa591c43
parentb9d1ad32039a8203e79845eafc8acd199c20a807
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)
crypto/mem_sec.c