Re: 4 pgcrypto regressions failures - 1 unsolved
Michael Fuhr <mike@fuhr.org>
From: Michael Fuhr <mike@fuhr.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Marko Kreen <marko@l-t.ee>, Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@postgresql.org
Date: 2005-07-11T15:19:37Z
Lists: pgsql-hackers
On Mon, Jul 11, 2005 at 10:39:26AM -0400, Tom Lane wrote:
> Marko Kreen <marko@l-t.ee> writes:
> > They won't matter on older OpenSSL, as the macros will recast
> > again. But on 0.9.7e the signature is:
>
> > void DES_ecb3_encrypt(const unsigned char *input, unsigned char *output,
> > DES_key_schedule *ks1,DES_key_schedule *ks2,
> > DES_key_schedule *ks3, int enc);
>
> > so it seems to me that with your patch the warnings will appear
> > on newer OpenSSL. (Confirmed)
>
> Grumble --- you're right. It's probably not worth ifdef'ing the code to
> suppress the warnings on 0.9.7a ...
Hmmm...in 0.9.8 the signature is back to what it was in 0.9.7[a-d]:
void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
DES_key_schedule *ks1,DES_key_schedule *ks2,
DES_key_schedule *ks3, int enc);
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/