aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2009-04-26 18:02:06 +0000
committerAndy Polyakov <appro@openssl.org>2009-04-26 18:02:06 +0000
commitff65e94e04e71e43a8f958185d6fdf2671e90dac (patch)
tree68f642be0bed93a25405d975ec735b7fef87f725 /crypto/crypto.h
parent6c8b9259fc0ddd429e4ae4c4ad90356e91a669ff (diff)
downloadopenssl-ff65e94e04e71e43a8f958185d6fdf2671e90dac.tar.gz
Addenum to commit#18074: Expand OPENSSL_ia32cap to 64 bits.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r--crypto/crypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index ff09bc5fb4..e771206a1b 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -543,8 +543,8 @@ void CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb);
void OpenSSLDie(const char *file,int line,const char *assertion);
#define OPENSSL_assert(e) (void)((e) ? 0 : (OpenSSLDie(__FILE__, __LINE__, #e),1))
-unsigned long *OPENSSL_ia32cap_loc(void);
-#define OPENSSL_ia32cap (*(OPENSSL_ia32cap_loc()))
+unsigned int *OPENSSL_ia32cap_loc(void);
+#define OPENSSL_ia32cap ((OPENSSL_ia32cap_loc())[0])
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes