On Thu, Jan 04, 2001 at 10:30:49AM -0800, Fateh Kausar wrote:
> I am so thankful to you.It finally worked, but could you please tell me why
> my code was building fine when I was not using OpenSSL.
> Thanks and regards.
> -Fateh
>
> P.S. But the problem with des.h stays for I am forcing the OpenSSL lib to
> use a different signature of the crypt function by defining
> HEADER_DES_LOCL_H. Not doing so makes the compiler to complain saying
>
> "/usr/include/unistd.h", line 169: Error: Only one of a set of overloaded
> functions can be "C" or "Pascal".
I have just re-checked your other messages. I probably don't have enough
information available.
- What kind of system are you using?
- What compiler are you using?
- You are trying to _use_ the openssl library rather than installing the
library?
If you have a look into the "des.h" header file (version of openssl 0.9.6),
you will find the following construct at line 192:
#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT)
char *crypt(const char *buf,const char *salt);
#endif
For me it seems, that when compiling PERL5 or when working on the FreeBSD or
Next platform, there is a problem with crypt(). Maybe we have to take care
of another platform??
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]