Обсуждение: pgcrypto 'cryptsrc' in Makefile: what is that?

Поиск
Список
Период
Сортировка

pgcrypto 'cryptsrc' in Makefile: what is that?

От
"Colin E. Freas"
Дата:
In the Makefile for pgcrypto there's a cryptsrc variable you can set to
'builtin' or 'system'.

Makefile only references the variable when it's set to 'builtin'...  I
can't figure out what it's supposed to do when set to 'system'.

Anyone happen to know?

Thanks,
Colin

Re: pgcrypto 'cryptsrc' in Makefile: what is that?

От
Marko Kreen
Дата:
On Thu, Aug 25, 2005 at 07:31:54PM -0400, Colin E. Freas wrote:
>
> In the Makefile for pgcrypto there's a cryptsrc variable you can set to
> 'builtin' or 'system'.
>
> Makefile only references the variable when it's set to 'builtin'...  I
> can't figure out what it's supposed to do when set to 'system'.

See the 'else' branch.

> Anyone happen to know?

It makes pgcrypto use libc's crypt() instead of builtin code.

It is rather pointless option.  It is removed in 8.1.

--
marko