Don't set NEON_FUNCTIONAL in the getauxval path.

NEON_FUNCTIONAL is set by default in crypto.c. Chromium calls
|CRYPTO_set_NEON_functional| before |SSL_library_init| and thus the
getauxval path for CPU-feature detection was resetting the functional
flag, even on broken processors.

This change means that, apart from the default, only
|CRYPTO_set_NEON_functional| will change the NEON_FUNCTIONAL flag.


Change-Id: I3d4dbbd9f4a5e33539f8559f90289e706ad17451
Reviewed-by: David Benjamin <>
Reviewed-by: Adam Langley <>
1 file changed