projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb5a26
)
cryptlib.c: make even non-Windows builds "strtoull-agnostic".
author
Andy Polyakov
<appro@openssl.org>
Sat, 14 Jan 2012 18:46:15 +0000
(18:46 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sat, 14 Jan 2012 18:46:15 +0000
(18:46 +0000)
crypto/cryptlib.c
patch
|
blob
|
history
diff --git
a/crypto/cryptlib.c
b/crypto/cryptlib.c
index 4b0a36c3d3a5e8717cfac5b6ef0ae95515422ef6..ec8abdce9aeaa5e8dca3b1637bec898385d406f7 100644
(file)
--- a/
crypto/cryptlib.c
+++ b/
crypto/cryptlib.c
@@
-149,7
+149,7
@@
void OPENSSL_cpuid_setup(void)
#if defined(_WIN32)
if (!sscanf(env+off,"%I64i",&vec)) vec = strtoul(env+off,NULL,0);
#else
-
vec = strtoul
l(env+off,NULL,0);
+
if (!sscanf(env+off,"%lli",&vec)) vec = strtou
l(env+off,NULL,0);
#endif
if (off) vec = OPENSSL_ia32_cpuid()&~vec;
}