Hi all,

when I compile openssl with "-DNO_ASM", I would expect that none of the handwritten assembler code was used. However, on x86 machines, configure automatically adds "-DSHA1_ASM -DMD5_ASM -DRMD160_ASM". Shouldn't the NO_ASM flag have a higher priority? I.e. a short

PATCH:
--- ./crypto/des/des_enc.c      2006-02-16 13:36:25.000000000 +0100
+++ ./crypto/des/des_enc.c.new  2006-08-17 23:40:28.000000000 +0200
@@ -58,6 +58,10 @@

 #include "des_locl.h"

+#ifdef NO_ASM
+# undef OPENSSL_FIPS_DES_ASM
+#endif
+
 #ifndef OPENSSL_FIPS

 void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc)
END PATCH

... here and in some similar files would do this, already. Or was this not done for some good reason I just cannot think of? :-)

Jan
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to