Re: 4 pgcrypto regressions failures - 1 unsolved

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: 4 pgcrypto regressions failures - 1 unsolved
Дата
Msg-id 20050711131328.GA18796@l-t.ee
обсуждение исходный текст
Ответ на Re: 4 pgcrypto regressions failures - 1 unsolved  (Marko Kreen <marko@l-t.ee>)
Ответы Re: 4 pgcrypto regressions failures - 1 unsolved  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Jul 11, 2005 at 02:59:54PM +0300, Marko Kreen wrote:
> On Mon, Jul 11, 2005 at 05:50:32AM -0500, Andrew Dunstan wrote:
> > Marko Kreen said:
> > http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=canary&dt=2005-07-11%2002:30:00>
> > > NetBSD 1.6 with older OpenSSL.  OpenSSL < 0.9.7 does not have
> > > AES, but most of PGP tests use it as it is the preferred cipher.
> > > And the AES tests fails anyway.  I guess it can stay as expected
> > > failure.
> >
> > Please try to avoid expected failures if possible. If you must have them,
> > move them into a test file of their own. Consider the possibility of using
> > alternative .out files.
>
> I need either to use included rijndael.c for AES with older
> OpenSSL or rerun all tests to be Blowfish-only.
>
> I want to standardise on AES so the former is preferred.
>
> Now there's a choice:
>
> 1. Check OpenSSL version in main configure
> 2. #include "rijndael.c" in openssl.c
>
> I guess 1. is nicer.  I try to hack something together.

I tried 1. but that was messing with main build system for no
good reason.  As the openssl.c would still be mess, so I went
with 2.

Result is - it's not so bad.  As I used rijndael.c to provide
OpenSSL's own interface, I even got rid of all the ifdefs inside
the code.

--
marko


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Marko Kreen
Дата:
Сообщение: Re: 4 pgcrypto regressions failures - 1 unsolved
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: suspicious pointer/integer coersion