From: Andy Polyakov Date: Sun, 15 Sep 2013 20:07:49 +0000 (+0200) Subject: crypto/armcap.c: fix typo in rdtsc subroutine. X-Git-Tag: OpenSSL_1_0_1f~57 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=00c991f02850788ff36c09458f18927851424d60 crypto/armcap.c: fix typo in rdtsc subroutine. PR: 3125 Submitted by: Kyle McMartin (cherry picked from commit 8e52a9063a8a016bdac780005256994d26f9c2f9) --- 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;