mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
I noticed that the contrib Makefiles were reorganized.
Converted pgcrypto one too. * Changed default randomness source to libc random() That way pgcrypto does not have any external dependencies and should work everywhere. * Re-enabled pgcrypto build in contrib/makefile * contrib/README update - there is more stuff than only 'hash functions' * Noted the libc random fact in README.pgcrypto Marko Kreen
This commit is contained in:
@ -9,10 +9,12 @@ INSTALLATION
|
||||
|
||||
Edit makefile, if you want to use any external library.
|
||||
|
||||
NB! Default randomness source is /dev/urandom device. If you
|
||||
do not have it, you also need to edit Makefile to let pgcrypto
|
||||
use either OpenSSL PRNG or libc random() PRNG. Using libc random()
|
||||
is discouraged.
|
||||
NB! Default randomness source is libc random() function. This
|
||||
is so only to get pgcrypto build everywhere. Randomness is
|
||||
needed for gen_salt() function. So if you plan using it, you
|
||||
should definitely change that by editing Makefile. You should
|
||||
be using urandom device if your OS supports it, otherwise link
|
||||
pgcrypto against OpenSSL library and use its PRNG.
|
||||
|
||||
After editing Makefile:
|
||||
|
||||
|
Reference in New Issue
Block a user