diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-04-17 18:49:36 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-04-17 18:49:36 +0000 |
commit | 47576640cffdd8a0db31cfa88edd1ef1c9522aa0 (patch) | |
tree | a3423f5399a94d38dfaee3527f1166104ec0d770 /lib/libcrypto/armcap.c | |
parent | 64a5e384cae430b0456f17ec27a84f6233f894d2 (diff) |
Remove oh-so-important-from-a-security-pov OpenSSL_rtdsc() function.
Diffstat (limited to 'lib/libcrypto/armcap.c')
-rw-r--r-- | lib/libcrypto/armcap.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/libcrypto/armcap.c b/lib/libcrypto/armcap.c index 0625587bdd0..f40993c1d55 100644 --- a/lib/libcrypto/armcap.c +++ b/lib/libcrypto/armcap.c @@ -20,16 +20,6 @@ static sigjmp_buf ill_jmp; * ARM compilers support inline assembler... */ void _armv7_neon_probe(void); -unsigned int _armv7_tick(void); - -unsigned int -OPENSSL_rdtsc(void) -{ - if (OPENSSL_armcap_P & ARMV7_TICK) - return _armv7_tick(); - else - return 0; -} #if defined(__GNUC__) && __GNUC__>=2 void OPENSSL_cpuid_setup(void) __attribute__((constructor)); @@ -72,10 +62,6 @@ OPENSSL_cpuid_setup(void) _armv7_neon_probe(); OPENSSL_armcap_P |= ARMV7_NEON; } - if (sigsetjmp(ill_jmp, 1) == 0) { - _armv7_tick(); - OPENSSL_armcap_P |= ARMV7_TICK; - } sigaction (SIGILL, &ill_oact, NULL); sigprocmask(SIG_SETMASK, &oset, NULL); |