> jaltman> Eric Young designed his DES library to be symbol and struct compatible
> jaltman> with the MIT Kerberos DES.  There should be no need to include both.
> jaltman> Excluding the MIT des.h with #define DES_DEFS is the appropriate way
> jaltman> to go.
> 
> Basically, you're saying that this patch should do the trick?
> 
> +/* To avoid conflicts with MIT Kerberos DES */
> +#ifndef DES_DEFS
> +#define DES_DEFS
> +

Yes.  Assuming that the OpenSSL des.h is always read before the 
MIT one.  That should be fine.   The only other changes you might need
to include are:

  #define des_new_random_key            des_random_key
  #define des_set_random_generator_seed des_random_seed 
  #define des_fixup_key_parity          des_set_odd_parity

since those function names are different.  (same definition though.)


    Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
                 The Kermit Project * Columbia University
              612 West 115th St #716 * New York, NY * 10025
  http://www.kermit-project.org/k95.html * [EMAIL PROTECTED]


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

Reply via email to