diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-06-20 19:56:52 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-06-20 19:56:52 +0000 |
commit | 47a37aeebdbeb5c242141830586e065256a0aaf6 (patch) | |
tree | 0f9eb0937b4864b811ac221e9dde28f8946b290a /src/backend/libpq/md5.c | |
parent | eaf8f312c754d6b4bcc9d0ff07c14b3b8990ed91 (diff) |
Split definitions for md5.c out of crypt.h and into their own header
libpq/md5.h, so that there's a clear separation between backend-only
definitions and shared frontend/backend definitions. (Turns out this
is reversing a bad decision from some years ago...) Fix up references
to crypt.h as needed. I looked into moving the code into src/port, but
the headers in src/include/libpq are sufficiently intertwined that it
seems more work than it's worth to do that.
Diffstat (limited to 'src/backend/libpq/md5.c')
-rw-r--r-- | src/backend/libpq/md5.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/libpq/md5.c b/src/backend/libpq/md5.c index 3948a29cb12..e8849049b49 100644 --- a/src/backend/libpq/md5.c +++ b/src/backend/libpq/md5.c @@ -14,13 +14,13 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/libpq/md5.c,v 1.32 2006/03/05 15:58:27 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/libpq/md5.c,v 1.33 2006/06/20 19:56:52 tgl Exp $ */ /* This is intended to be used in both frontend and backend, so use c.h */ #include "c.h" -#include "libpq/crypt.h" +#include "libpq/md5.h" /* @@ -265,7 +265,7 @@ bytesToHex(uint8 b[16], char *s) * * Calculates the MD5 sum of the bytes in a buffer. * - * SYNOPSIS #include "crypt.h" + * SYNOPSIS #include "md5.h" * int pg_md5_hash(const void *buff, size_t len, char *hexsum) * * INPUT buff the buffer containing the bytes that you want |