aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-08-29 16:36:05 +0000
committerAndy Polyakov <appro@openssl.org>2004-08-29 16:36:05 +0000
commit2b247cf81fbc320a313f952e2ea39cf63aa21010 (patch)
treed81b7181197eb2360ef8048ca9b488eff54b6e0f /crypto/crypto.h
parent746fc2526ffc17d57a5fb87568d01400cbcf62fd (diff)
downloadopenssl-2b247cf81fbc320a313f952e2ea39cf63aa21010.tar.gz
OPENSSL_ia32cap final touches. Note that OPENSSL_ia32cap is no longer a
symbol, but a macro expanded as (*(OPENSSL_ia32cap_loc())). The latter is the only one to be exported to application.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r--crypto/crypto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index 9edb24dc6d..a1bd005c3a 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -541,6 +541,9 @@ void ERR_load_CRYPTO_strings(void);
/* Reason codes. */
#define CRYPTO_R_NO_DYNLOCK_CREATE_CALLBACK 100
+unsigned long *OPENSSL_ia32cap_loc(void);
+#define OPENSSL_ia32cap (*(OPENSSL_ia32cap_loc()))
+
#ifdef __cplusplus
}
#endif