summaryrefslogtreecommitdiff
path: root/fips/fips_test_suite.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/fips_test_suite.c')
-rw-r--r--fips/fips_test_suite.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fips/fips_test_suite.c b/fips/fips_test_suite.c
index c7054db742..7813d25ee0 100644
--- a/fips/fips_test_suite.c
+++ b/fips/fips_test_suite.c
@@ -1611,6 +1611,12 @@ int main(int argc, char **argv)
FIPS_post_set_callback(post_cb);
+#if defined(__APPLE__) && (defined(__arm__) || defined(__aarch64__))
+ extern unsigned int OPENSSL_armcap_P;
+ if (0 == OPENSSL_armcap_P)
+ fprintf(stderr, "Optimizations disabled\n");
+#endif
+
printf("\tFIPS-mode test application\n");
printf("\t%s\n\n", FIPS_module_version_text());