On 2/24/10, Rémi Zara <remi_z...@mac.com> wrote:
>  Le 24 févr. 2010 à 01:04, Marko Kreen a écrit :
>  > On 2/24/10, Rémi Zara <remi_z...@mac.com> wrote:
>  >> Pika, which has been upgraded to NetBSD/mips 5.0.2, failed twice in a row 
> pgcrypto/test sha2 because of the following warning (identical each time) :
>  >>
>  >
>  >> Anything I should try ?
>  >
>  > Please try --without-openssl.
>
>
> Indeed, it works.
>
>  My openssl version is OpenSSL 0.9.9-dev 09 May 2008 bundled with NetBSD 
> 5.0.2.


I managed to reproduce it on 5.0.2/x86.  The problem is their
openssl library - sha384 writes out 64 bytes instead of 48.

As both OpenSSL 0.9.8 and 1.0-beta5 are fine, it's a netbsd-only
problem.   Their OpenSSL version is 0.9.9, which seems to be a
random CVS snapshot before 1.0-beta era.  Seems they did not bother
to track fixes in openssl HEAD.

>  Should I report a bug to NetBSD (and if so which one) ?

Yes - buggy sha384.

>  Is there a workaround ?

Turn OpenSSL off...

-- 
marko

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to