]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix no-asm build in windows
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 13 Sep 2019 04:37:50 +0000 (06:37 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 13 Sep 2019 04:37:50 +0000 (06:37 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9885)

crypto/cryptlib.c

index 5fab45b2ec85be8d97ecfddd868689e9e1984af5..8a793cad9b9ba97ba44365efc413b7a5abf8d748 100644 (file)
@@ -745,6 +745,11 @@ int OPENSSL_NONPIC_relocated = 0;
 void OPENSSL_cpuid_setup(void)
 {
 }
+
+unsigned long OPENSSL_rdtsc(void)
+{
+    return 0;
+}
 #endif
 
 #if (defined(_WIN32) || defined(__CYGWIN__)) && defined(_WINDLL)