aboutsummaryrefslogtreecommitdiff
path: root/project/src/crypto/ssl-asm.h
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2020-11-30 16:16:56 +0100
committerWiimm <wiimm@wiimm.de>2020-11-30 16:16:56 +0100
commit9c0078c6b9c1309b48f9ece8b5cad1b9be9a75c5 (patch)
tree0abd3b6a244076650e40a07e42adae9c2a6b2d8c /project/src/crypto/ssl-asm.h
parenta0815499b2d9014695e6e261c909476729445360 (diff)
SZS v2.21a
Diffstat (limited to '')
-rw-r--r--project/src/crypto/ssl-asm.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/project/src/crypto/ssl-asm.h b/project/src/crypto/ssl-asm.h
index aef71db..0d1e49b 100644
--- a/project/src/crypto/ssl-asm.h
+++ b/project/src/crypto/ssl-asm.h
@@ -35,12 +35,17 @@
* *
***************************************************************************/
-#ifdef __CYGWIN__
+#ifndef USE_SHA_LIB
+ #ifdef __CYGWIN__
#define SHA1_ASM
#ifdef WIIMM_INCLUDE_SSL_ASM
- #include "sha1-586-cygwin.s"
+ #if defined(__x86_64__)
+ #include "sha1-cygwin64.s"
+ #else
+ #include "sha1-586-cygwin.s"
+ #endif
#endif
-#elif defined(__linux__)
+ #elif defined(__linux__)
#if defined(__i386__)
#define SHA1_ASM
#ifdef WIIMM_INCLUDE_SSL_ASM
@@ -52,5 +57,6 @@
#include "sha1-x86_64.s"
#endif
#endif
-#endif
+ #endif
+#endif // !USE_SHA_LIB