mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
crypto/armcap.c: fix typo in rdtsc subroutine.
PR: 3125 Submitted by: Kyle McMartin
This commit is contained in:
parent
b3ef742cbb
commit
8e52a9063a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user