summaryrefslogtreecommitdiffstats
path: root/crypto/md32_common.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-06-23 12:18:31 +0000
committerBodo Möller <bodo@openssl.org>1999-06-23 12:18:31 +0000
commit946cbf67afc5a76394008bcad9efa67deeefb172 (patch)
treef4589cfc72f197cecd88e98424ba7734dc9e937d /crypto/md32_common.h
parent170afce58d5c9ffc399892e19a52c5559e2db801 (diff)
Don't use inline assembler when configured for "no-asm".
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r--crypto/md32_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h
index e88d78c27b..2b91f9eef2 100644
--- a/crypto/md32_common.h
+++ b/crypto/md32_common.h
@@ -179,7 +179,7 @@
#ifndef PEDANTIC
# if defined(_MSC_VER)
# define ROTATE(a,n) _lrotl(a,n)
-# elif defined(__GNUC__) && __GNUC__>=2
+# elif defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM)
/*
* Some GNU C inline assembler templates. Note that these are
* rotates by *constant* number of bits! But that's exactly
@@ -211,7 +211,7 @@
* Engage compiler specific "fetch in reverse byte order"
* intrinsic function if available.
*/
-# if defined(__GNUC__) && __GNUC__>=2
+# if defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM)
/* some GNU C inline assembler templates by <appro@fy.chalmers.se> */
# if defined(__i386) && !defined(I386_ONLY)
# define BE_FETCH32(a) ({ register unsigned int l=(a);\