Joe Pruett <[EMAIL PROTECTED]>:
> you should tweak the crypto/sha/sha_local.h to have:
> #elif defined(__GNUC__) && !defined(PEDANTIC) && defined(SHA1_ASM)
> /* some inline assembler templates by <[EMAIL PROTECTED]> */
>
> to avoid problems with gcc installations without gas.
Something similar has already been done:
Index: sha_locl.h
===================================================================
RCS file: /usr/local/openssl/cvs/openssl/crypto/sha/sha_locl.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -u -r1.8 -r1.9
--- sha_locl.h 1999/05/27 00:17:53 1.8
+++ sha_locl.h 1999/06/23 12:18:31 1.9
@@ -170,7 +170,7 @@
#define ROTATE(a,n) _lrotl(a,n)
#elif defined(__GNUC__) && !defined(PEDANTIC)
/* some inline assembler templates by <[EMAIL PROTECTED]> */
-#if defined(__i386)
+#if defined(__i386) && !defined(NO_ASM)
#define ROTATE(a,n) ({ register unsigned int ret; \
asm ("roll %1,%0" \
: "=r"(ret) \
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]