summaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/README.pgcrypto
diff options
context:
space:
mode:
authorBruce Momjian2001-09-29 03:11:58 +0000
committerBruce Momjian2001-09-29 03:11:58 +0000
commitcff23429d658d3591e7e0af129f158e90d0a4776 (patch)
tree017305205ad6ef3d6b864df315819cedfd49eeca /contrib/pgcrypto/README.pgcrypto
parent850ba416775336db441caa8f9f1e2b0d5e6c72a5 (diff)
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
Diffstat (limited to 'contrib/pgcrypto/README.pgcrypto')
-rw-r--r--contrib/pgcrypto/README.pgcrypto10
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/pgcrypto/README.pgcrypto b/contrib/pgcrypto/README.pgcrypto
index c79f996a324..ba6c3fd8374 100644
--- a/contrib/pgcrypto/README.pgcrypto
+++ b/contrib/pgcrypto/README.pgcrypto
@@ -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: