diff options
| author | Wiimm <wiimm@wiimm.de> | 2020-11-30 16:16:56 +0100 |
|---|---|---|
| committer | Wiimm <wiimm@wiimm.de> | 2020-11-30 16:16:56 +0100 |
| commit | 9c0078c6b9c1309b48f9ece8b5cad1b9be9a75c5 (patch) | |
| tree | 0abd3b6a244076650e40a07e42adae9c2a6b2d8c /project/src/crypto/ssl-asm.h | |
| parent | a0815499b2d9014695e6e261c909476729445360 (diff) | |
SZS v2.21a
Diffstat (limited to 'project/src/crypto/ssl-asm.h')
| -rw-r--r-- | project/src/crypto/ssl-asm.h | 14 |
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 |
