Use getauxval on Android with API level > 18
authorLars Immisch <immisch@adobe.com>
Thu, 5 Mar 2020 10:26:06 +0000 (11:26 +0100)
committerPauli <pauli@openssl.org>
Tue, 29 Jun 2021 09:06:57 +0000 (19:06 +1000)
commit2357e6e94a46362dbf56eecfec6ffbaa8bd76a68
tree1d90e95488aed47860d45f8481d1a93bc33c85b9
parentb2dea4d5f22ec146373324c282fb1bcecd5a7d90
Use getauxval on Android with API level > 18

We received analytics that devices of the device family Oppo A37x
are crashing with SIGILL when trying to load libcrypto.so.
These crashes were fixed by using the system-supplied getauxval function.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15763)
crypto/armcap.c