aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/armcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/armcap.c')
-rw-r--r--openssl/crypto/armcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/crypto/armcap.c b/openssl/crypto/armcap.c
index 5258d2fbd..9abaf396e 100644
--- a/openssl/crypto/armcap.c
+++ b/openssl/crypto/armcap.c
@@ -23,7 +23,7 @@ unsigned int _armv7_tick(void);
unsigned int OPENSSL_rdtsc(void)
{
- if (OPENSSL_armcap_P|ARMV7_TICK)
+ if (OPENSSL_armcap_P & ARMV7_TICK)
return _armv7_tick();
else
return 0;