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/e2f32444ef87
branches:  trunk
changeset: 1011209:e2f32444ef87
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 a34708f7f33e -r e2f32444ef87 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