crypto/armcap.c: fix typo in rdtsc subroutine.
authorAndy Polyakov <appro@openssl.org>
Sun, 15 Sep 2013 20:07:49 +0000 (22:07 +0200)
committerAndy Polyakov <appro@openssl.org>
Sun, 15 Sep 2013 20:07:49 +0000 (22:07 +0200)
PR: 3125
Submitted by: Kyle McMartin

crypto/armcap.c

index 5258d2f..9abaf39 100644 (file)
@@ -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;