OSDN Git Service

* regression tests
authorBruce Momjian <bruce@momjian.us>
Sun, 30 Sep 2001 22:18:29 +0000 (22:18 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 30 Sep 2001 22:18:29 +0000 (22:18 +0000)
* minor doc updates

Marko Kreen

contrib/pgcrypto/API
contrib/pgcrypto/Makefile
contrib/pgcrypto/README.pgcrypto

index 8127f70..6664caf 100644 (file)
@@ -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"
index c4d7eee..823d4ff 100644 (file)
@@ -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
index ba6c3fd..0480c4c 100644 (file)
@@ -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,