diff options
| author | Neil Conway | 2005-03-21 05:19:55 +0000 |
|---|---|---|
| committer | Neil Conway | 2005-03-21 05:19:55 +0000 |
| commit | b160d6b9dcab2954cf4b500c73dd0998aa371f49 (patch) | |
| tree | 12486a14bf0ed96d5a4f8982cc14766ade535e05 /contrib/pgcrypto/px-crypt.h | |
| parent | fa332a06ecffaa027a0b09cdd1907a03d4318911 (diff) | |
pgcrypto update:
* Use error codes instead of -1
* px_strerror for new error codes
* calling convention change for px_gen_salt - return error code
* use px_strerror in pgcrypto.c
Marko Kreen
Diffstat (limited to 'contrib/pgcrypto/px-crypt.h')
| -rw-r--r-- | contrib/pgcrypto/px-crypt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/px-crypt.h b/contrib/pgcrypto/px-crypt.h index 134b1d56e90..98a5647b827 100644 --- a/contrib/pgcrypto/px-crypt.h +++ b/contrib/pgcrypto/px-crypt.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $PostgreSQL: pgsql/contrib/pgcrypto/px-crypt.h,v 1.6 2003/11/29 22:39:28 pgsql Exp $ + * $PostgreSQL: pgsql/contrib/pgcrypto/px-crypt.h,v 1.7 2005/03/21 05:19:55 neilc Exp $ */ #ifndef _PX_CRYPT_H @@ -49,7 +49,7 @@ * main interface */ char *px_crypt(const char *psw, const char *salt, char *buf, unsigned buflen); -unsigned px_gen_salt(const char *salt_type, char *dst, int rounds); +int px_gen_salt(const char *salt_type, char *dst, int rounds); /* * internal functions |
