diff options
author | Andy Polyakov <appro@openssl.org> | 2013-09-15 22:07:49 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-09-15 22:10:49 +0200 |
commit | c340c7a88c84bf7d02143f5705b4cc5726c48e25 (patch) | |
tree | 043fbbbb4246e3af7ab61b836ce449cbf2143ac9 /crypto/armcap.c | |
parent | 9ecf6e93af1c42321743e281a86a2cacf2148dad (diff) |
crypto/armcap.c: fix typo in rdtsc subroutine.
PR: 3125
Submitted by: Kyle McMartin
(cherry picked from commit 8e52a9063a8a016bdac780005256994d26f9c2f9)
Diffstat (limited to 'crypto/armcap.c')
-rw-r--r-- | crypto/armcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/armcap.c b/crypto/armcap.c index 5258d2fbdd..9abaf396e5 100644 --- a/crypto/armcap.c +++ b/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; |