The definition of _ in des.h header breaks whole compilation process, when
youii compile apache.1.3.6 with SSleay and mod_perl support. This blind hack
seem to have this problem fixed. (but I didn't check if it would cause
other problems tho).

~~ this is what OpenSSL I am using:
~~ openssl version -a
~~ OpenSSL 0.9.3 23 May 1999
~~ built on: Sun May 30 09:09:49 EDT 1999
~~ platform: linux-elf
~~ options:  bn(64,32) md2(int) rc4(ptr,int) des(ptr,risc1,16,long) idea(int)
~~ blowfish(idx) 
~~ compiler: gcc -DTHREADS -D_REENTRANT -DL_ENDIAN -DTERMIO -O3
~~ -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
~~ 


--- include/openssl/des.h.orig  Mon May 17 06:54:18 1999
+++ include/openssl/des.h       Sun May 30 09:39:27 1999
@@ -92,10 +92,16 @@
                 * 8 byte longs */
                DES_LONG pad[2];
                } ks;
+#ifndef MOD_PERL
 #if defined _
 # error "_ is defined, but some strange definition the DES library cannot handle 
that."
 #endif
 #define _      ks._
+#else
+#ifndef _
+#define _ ks._
+#endif
+#endif
        int weak_key;
        } des_key_schedule[16];
 


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

Reply via email to