diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2017-11-19 17:40:56 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2017-11-25 14:30:11 +0100 |
commit | d807db26a403b4de69d7846656362e70f5083428 (patch) | |
tree | 936f89094f60f405956b2a19f1fccf5b4791cc91 /include | |
parent | 92793648945affdfe529fa711666d19528815789 (diff) | |
download | openssl-d807db26a403b4de69d7846656362e70f5083428.zip openssl-d807db26a403b4de69d7846656362e70f5083428.tar.gz openssl-d807db26a403b4de69d7846656362e70f5083428.tar.bz2 |
Create a prototype for OPENSSL_rdtsc
Switch to make it return an uint32_t instead of the various different
types it returns now.
Fixes: #3125
Reviewed-by: Andy Polyakov <appro@openssl.org>
GH: #4757
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/cryptlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h index 4280185..25ccdb1 100644 --- a/include/internal/cryptlib.h +++ b/include/internal/cryptlib.h @@ -94,6 +94,10 @@ FILE *openssl_fopen(const char *filename, const char *mode); void *openssl_fopen(const char *filename, const char *mode); # endif +#ifdef OPENSSL_CPUID_OBJ +uint32_t OPENSSL_rdtsc(); +#endif + #ifdef __cplusplus } #endif |