crypto/armcap.c, crypto/ppccap.c: stricter use of getauxval()
authorRichard Levitte <levitte@openssl.org>
Wed, 16 Jan 2019 05:31:15 +0000 (06:31 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 16 Jan 2019 17:04:22 +0000 (18:04 +0100)
Having a weak getauxval() and only depending on GNU C without looking
at the library we build against meant that it got picked up where not
really expected.

So we change this to check for the glibc version, and since we know it
exists from that version, there's no real need to make it weak.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/8028)

(cherry picked from commit 5f40dd158cbfa0a3bd86c32f7a77fec8754bb245)


No differences found