Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9588084

Browse files
committed
* regression tests
* minor doc updates Marko Kreen
1 parent c6f9464 commit 9588084

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

contrib/pgcrypto/API

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ unsigned px_gen_salt(const char *salt_type, char *dst, int rounds);
2222
Random
2323
======
2424

25-
int px_rand_get_bytes(uint8 *dst, int num)
25+
int px_get_random_bytes(uint8 *dst, int num)
2626

2727

2828
Crypto "objects"

contrib/pgcrypto/Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# $Header: /cvsroot/pgsql/contrib/pgcrypto/Makefile,v 1.8 2001/09/29 03:11:58 momjian Exp $
2+
# $Header: /cvsroot/pgsql/contrib/pgcrypto/Makefile,v 1.9 2001/09/30 22:18:29 momjian Exp $
33
#
44

55
subdir = contrib/pgcrypto
@@ -71,6 +71,9 @@ EXTRA_CLEAN := gen-rtab
7171
PG_CPPFLAGS := $(CRYPTO_CFLAGS) -I$(srcdir)
7272
SHLIB_LINK := $(CRYPTO_LDFLAGS)
7373

74+
REGRESS := init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \
75+
crypt-des crypt-md5 crypt-blowfish crypt-xdes
76+
7477
include $(top_srcdir)/contrib/contrib-global.mk
7578

7679
rijndael.o: rijndael.tbl

contrib/pgcrypto/README.pgcrypto

+6-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ After editing Makefile:
2121
make
2222
make install
2323

24+
To run regression tests, install both PostgreSQL and pgcrypto
25+
and then run
26+
27+
make installcheck
28+
2429
SQL FUNCTIONS
2530
=============
2631

@@ -181,7 +186,7 @@ OpenSSL (0.9.6):
181186
Url: http://www.openssl.org/
182187

183188

184-
mhash (0.8.9) + mcrypt (2.4.11):
189+
mhash (0.8.9) + mcrypt (2.4.16):
185190
Hashes: MD5, SHA1, CRC32, CRC32B, GOST, TIGER, RIPEMD160,
186191
HAVAL(256,224,192,160,128)
187192
Ciphers: DES, DES3, CAST-128(CAST5), CAST-256, xTEA, 3-way,

0 commit comments

Comments
 (0)