crypto/uid.c: use own macro as guard rather than AT_SECURE
authorRichard Levitte <levitte@openssl.org>
Thu, 20 Dec 2018 09:17:38 +0000 (10:17 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 16 Jan 2019 05:19:17 +0000 (06:19 +0100)
commitaefb980c45134d84f1757de1a9c61d699c8a7e33
treefbceafe1e8b953a9baf4155bcdea54e4fc48929d
parentea09abc80892920ee5db4de82bed7a193b5896f0
crypto/uid.c: use own macro as guard rather than AT_SECURE

It turns out that AT_SECURE may be defined through other means than
our inclusion of sys/auxv.h, so to be on the safe side, we define our
own guard and use that to determine if getauxval() should be used or
not.

Fixes #7932

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7933)
crypto/uid.c