summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2001-09-30 22:18:29 +0000
committerBruce Momjian2001-09-30 22:18:29 +0000
commit958808426372a0bb0f5aa0ed8d455c753e6b338a (patch)
tree76e2928a5e6e5a1261f3aa6bc157a55e925bf372
parentc6f94644a0ea716375c1e90cbaa2424588a1a6c7 (diff)
* regression tests
* minor doc updates Marko Kreen
-rw-r--r--contrib/pgcrypto/API2
-rw-r--r--contrib/pgcrypto/Makefile5
-rw-r--r--contrib/pgcrypto/README.pgcrypto7
3 files changed, 11 insertions, 3 deletions
diff --git a/contrib/pgcrypto/API b/contrib/pgcrypto/API
index 8127f70393..6664caf8c1 100644
--- a/contrib/pgcrypto/API
+++ b/contrib/pgcrypto/API
@@ -22,7 +22,7 @@ unsigned px_gen_salt(const char *salt_type, char *dst, int rounds);
Random
======
-int px_rand_get_bytes(uint8 *dst, int num)
+int px_get_random_bytes(uint8 *dst, int num)
Crypto "objects"
diff --git a/contrib/pgcrypto/Makefile b/contrib/pgcrypto/Makefile
index c4d7eee76e..823d4ff93c 100644
--- a/contrib/pgcrypto/Makefile
+++ b/contrib/pgcrypto/Makefile
@@ -1,5 +1,5 @@
#
-# $Header: /cvsroot/pgsql/contrib/pgcrypto/Makefile,v 1.8 2001/09/29 03:11:58 momjian Exp $
+# $Header: /cvsroot/pgsql/contrib/pgcrypto/Makefile,v 1.9 2001/09/30 22:18:29 momjian Exp $
#
subdir = contrib/pgcrypto
@@ -71,6 +71,9 @@ EXTRA_CLEAN := gen-rtab
PG_CPPFLAGS := $(CRYPTO_CFLAGS) -I$(srcdir)
SHLIB_LINK := $(CRYPTO_LDFLAGS)
+REGRESS := init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \
+ crypt-des crypt-md5 crypt-blowfish crypt-xdes
+
include $(top_srcdir)/contrib/contrib-global.mk
rijndael.o: rijndael.tbl
diff --git a/contrib/pgcrypto/README.pgcrypto b/contrib/pgcrypto/README.pgcrypto
index ba6c3fd837..0480c4caff 100644
--- a/contrib/pgcrypto/README.pgcrypto
+++ b/contrib/pgcrypto/README.pgcrypto
@@ -21,6 +21,11 @@ After editing Makefile:
make
make install
+To run regression tests, install both PostgreSQL and pgcrypto
+and then run
+
+make installcheck
+
SQL FUNCTIONS
=============
@@ -181,7 +186,7 @@ OpenSSL (0.9.6):
Url: http://www.openssl.org/
-mhash (0.8.9) + mcrypt (2.4.11):
+mhash (0.8.9) + mcrypt (2.4.16):
Hashes: MD5, SHA1, CRC32, CRC32B, GOST, TIGER, RIPEMD160,
HAVAL(256,224,192,160,128)
Ciphers: DES, DES3, CAST-128(CAST5), CAST-256, xTEA, 3-way,