> On 07/27/99, Jeffrey Altman said:
> >Eric Young designed his DES library to be symbol and struct compatible
> >with the MIT Kerberos DES.  There should be no need to include both.
> >Excluding the MIT des.h with #define DES_DEFS is the appropriate way
> >to go.
> 
> This is stock Solaris though, and doesn't seem to include any notion
> of DES_DEFS.

Looking at Solaris 2.6 it appears that /usr/include/kerberos contains
an incomplete set of Kerberos IV files.  In particular, the
/usr/include/kerberos/des.h file contains all of the #defines and
typedefs but none of the function prototypes.  

So in this case openssl/des.h must be included before
/usr/include/kerberos/des.h and it must also check for _KERBEROS_DES_H
in addition to DES_DEFS.

This problem with most likely happen on a platform by platform basis
since many operating system vendors are likely to have taken the MIT
DES implementation and then modified it for use of their systems.



    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