OK, the definition of des_crypt() is disabled.

Ticket resolved.

[utcke@informatik.uni-hamburg.de - Wed Jun 22 13:25:46 2005]:

> Hello,
>
> Hans Meine has (re-)discovered the following name-clash on Solaris 8
> (SunOS 5.8):
>
> meine@kogs2:/software/cyrus-sasl-2.1.21/source/cyrus-sasl-
> 2.1.21/build-SunOS-5.8/saslauthd
> -> make
> gmake all-am
> gmake[1]: Entering directory
> `/software/cyrus-sasl-2.1.21/source/cyrus-sasl-2.1.21/build-SunOS-
> 5.8/saslauthd'
> source='../../saslauthd/auth_getpwent.c' object='auth_getpwent.o'
> libtool=no \
> depfile='.deps/auth_getpwent.Po'
> tmpdepfile='.deps/auth_getpwent.TPo' \
> depmode=gcc /bin/bash ../../saslauthd/config/depcomp \
> gcc -DHAVE_CONFIG_H
> -DSASLAUTHD_CONF_FILE_DEFAULT=\"/software/cyrus-sasl-2.1.21/etc/

saslauthd.conf\"
> -I. -I../../saslauthd -I.. -I. -I../../saslauthd -I.
> -I../../saslauthd/include -I./include -I../../saslauthd/../include
> -I/software/openssl-0.9.7g/SunOS-5.8/include -g -O2 -c `test -f
> '../../saslauthd/auth_getpwent.c' || echo
> '../../saslauthd/'`../../saslauthd/auth_getpwent.c
> In file included from ../../saslauthd/auth_getpwent.c:53:
> /usr/include/crypt.h:22: parse error before `('
> /usr/include/crypt.h:22: parse error before `const'
> gmake[1]: *** [auth_getpwent.o] Error 1
> gmake[1]: Leaving directory
> `/software/cyrus-sasl-2.1.21/source/cyrus-sasl-2.1.21/build-SunOS-
> 5.8/saslauthd'
> gmake: *** [all] Error 2
>
> The reason here ist that
>
> /software/openssl-0.9.7g/SunOS-5.8/include/openssl/des_old.h
>
> defines (in line 174)
>
> #define des_crypt(b,s)\
> DES_crypt((b),(s))
>
> which lead to
>
> extern char * DES_crypt(( const char * ),( const char * )) ;
>
> in /usr/include/crypt.h:22
>
> This seems to be a reasonably well known issue, see e.g.
>
> http://www.opensubscriber.com/message/cyrus-
> sasl@lists.andrew.cmu.edu/1505445.html
> http://www.google.com/search?q=crypt...aris+des_old.h
>
> Greetings
>
> Sven Utcke



--
Richard Levitte
levitte@openssl.org
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org