Skip site navigation (1) Skip section navigation (2)

Re: Talking about Solaris 7

From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: Alexander Klimov <ask(at)wisdom(dot)weizmann(dot)ac(dot)il>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Talking about Solaris 7
Date: 2001-01-29 13:13:17
Message-ID: 01012910131701.32234@math.unl.edu.ar (view raw or flat)
Thread:
Lists: pgsql-hackers
El Lun 29 Ene 2001 07:57, Alexander Klimov escribió:
> Hi.
>
> I had the same problem and sent bug report to openssl-users(at)openssl(dot)org
> some time ago (20 Sep 2000), so, hopefully, they will fix it eventualy.
>
> There is a workaround for it. The comment in ssl/include/openssl/des.h
> said: `You should not use this function except to implement 'modes' of
> DES.', so you can just comment out declaration of des_encrypt (line 150)
> without any problem.

Now, why are the definitions so different?

/usr/include/crypt.h:23 (I guess this is Solaris crypt header)

extern void des_encrypt(char *, int);

and /usr/local/ssl/include/openssl/des.h:150 (this is from openssl)

void des_encrypt(DES_LONG *data,des_key_schedule ks, int enc);

I may be wrong, but why are the two functions decrared with different 
arguments?


-- 
System Administration: It's a dirty job, 
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués			email: 	martin(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina		http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

In response to

Responses

pgsql-hackers by date

Next:From: Alexander KlimovDate: 2001-01-29 13:57:20
Subject: Re: Talking about Solaris 7
Previous:From: Martin A. MarquesDate: 2001-01-29 12:49:19
Subject: Re: BLOB HOWTO??

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group