aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2017-11-19 17:40:56 +0100
committerKurt Roeckx <kurt@roeckx.be>2017-11-25 14:30:11 +0100
commitd807db26a403b4de69d7846656362e70f5083428 (patch)
tree936f89094f60f405956b2a19f1fccf5b4791cc91 /include
parent92793648945affdfe529fa711666d19528815789 (diff)
downloadopenssl-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.h4
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