Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1
Дата
Msg-id 20030804001836.GG46887@perrin.int.nxad.com
обсуждение исходный текст
Ответ на Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> > Possible, but I'm a skeptical of that.  FreeBSD's openssl code
> > _should_ be stock (unless someone bungled the import) with the
> > exception of not including Win32 or other non-FreeBSD related
> > bits.  crypt() works when salted with only 2 chars, however it
> > shouldn't core with more than that...
>
> But maybe the problem is in crypt(3) and not in OpenSSL at all?  I'm
> quite willing to believe that neither Linux nor HPUX share crypt()
> source with FreeBSD...

Using the builtin crypt() solved this problem for the user though. I
wonder if the configure script isn't correctly detecting using the
builtin crypt() as opposed to the openssl version...  or visa versa.
Try applying the attached patch and seeing if that lets you reproduce
the crash.  random may still need to be silly on HPUX, I don't know if
it has a /dev/random.  -sc

--
Sean Chittenden

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 7.3.3 with pgcrypto on FreeBSD 5.1