crypto/opensslconf.h.in normally says #ifdef HEADER_BLAH_BLAH while some
headers contain 

#define _HEADER_BLAH_BLAH
#include <openssl/opensslconf.h>

As result Blowfish performance suffers (well, I speak for SPARC and
MIPS:-) and RC4 is uncontrollable. As all other header files say #define
HEADER_BLAH_BLAH I found it more appropriate to fix-up bf_locl.h and
rc4_locl.h:

*** ./crypto/bf/bf_locl.h.orig  Wed Apr 28 00:00:12 1999
--- ./crypto/bf/bf_locl.h       Mon Jun 14 14:42:34 1999
***************
*** 56,63 ****
   * [including the GNU Public Licence.]
   */
  
! #ifndef _HEADER_BF_LOCL_H
! #define _HEADER_BF_LOCL_H
  #include <openssl/opensslconf.h> /* BF_PTR, BF_PTR2 */
  
  #undef c2l
--- 56,63 ----
   * [including the GNU Public Licence.]
   */
  
! #ifndef HEADER_BF_LOCL_H
! #define HEADER_BF_LOCL_H
  #include <openssl/opensslconf.h> /* BF_PTR, BF_PTR2 */
  
  #undef c2l
*** ./crypto/rc4/rc4_locl.h.orig        Sat Apr 24 01:00:42 1999
--- ./crypto/rc4/rc4_locl.h     Mon Jun 14 14:43:08 1999
***************
*** 1,4 ****
! #ifndef _HEADER_RC4_LOCL_H
! #define _HEADER_RC4_LOCL_H
  #include <openssl/opensslconf.h>
  #endif
--- 1,4 ----
! #ifndef HEADER_RC4_LOCL_H
! #define HEADER_RC4_LOCL_H
  #include <openssl/opensslconf.h>
  #endif

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

Reply via email to