]> granicus.if.org Git - postgresql/commitdiff
* 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 8127f70393be4a160b33e6f8eea4a621bff11266..6664caf8c134ba70676c30c8ae1176feb639d3cf 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 c4d7eee76eca731f64d6138a6c80d41c2d9a4e14..823d4ff93c13970ca705dd81ae84710c23b3e778 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 ba6c3fd8374963ebaff09ef4c1a53d9a289862c8..0480c4cafffdef82824b1896852a911b8d5297ed 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,