cryptlib.c: make even non-Windows builds "strtoull-agnostic" [from HEAD].
This commit is contained in:
parent
a1e44cc14f
commit
f02f7c2c4a
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,7 @@ void OPENSSL_cpuid_setup(void)
|
|||
#if defined(_WIN32)
|
||||
if (!sscanf(env+off,"%I64i",&vec)) vec = strtoul(env+off,NULL,0);
|
||||
#else
|
||||
vec = strtoull(env+off,NULL,0);
|
||||
if (!sscanf(env+off,"%lli",(long long *)&vec)) vec = strtoul(env+off,NULL,0);
|
||||
#endif
|
||||
if (off) vec = OPENSSL_ia32_cpuid()&~vec;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue