Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto remove unneeded ifdefs
details: https://anonhg.NetBSD.org/src/rev/71a0a20b2527
branches: trunk
changeset: 935040:71a0a20b2527
user: christos <christos%NetBSD.org@localhost>
date: Mon Jun 22 22:43:56 2020 +0000
description:
remove unneeded ifdefs
diffstat:
crypto/external/bsd/openssl/dist/crypto/armcap.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r c1d8a57a3f09 -r 71a0a20b2527 crypto/external/bsd/openssl/dist/crypto/armcap.c
--- a/crypto/external/bsd/openssl/dist/crypto/armcap.c Mon Jun 22 20:15:25 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/armcap.c Mon Jun 22 22:43:56 2020 +0000
@@ -41,7 +41,6 @@
* Following subroutines could have been inlined, but it's not all
* ARM compilers support inline assembler...
*/
-#if __ARM_MAX_ARCH__>=7
void _armv7_neon_probe(void);
void _armv8_aes_probe(void);
void _armv8_sha1_probe(void);
@@ -54,11 +53,9 @@
uint32_t OPENSSL_rdtsc(void)
{
-#if __ARM_MAX_ARCH__>=7
if (OPENSSL_armcap_P & ARMV7_TICK)
return _armv7_tick();
else
-#endif
return 0;
}
@@ -210,7 +207,6 @@
_armv7_tick();
OPENSSL_armcap_P |= ARMV7_TICK;
}
-#endif
sigaction(SIGILL, &ill_oact, NULL);
sigprocmask(SIG_SETMASK, &oset, NULL);
Home |
Main Index |
Thread Index |
Old Index