summaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/internal.c
diff options
context:
space:
mode:
authorTom Lane2005-07-11 15:07:59 +0000
committerTom Lane2005-07-11 15:07:59 +0000
commite997758cb67526549b56a89658f7a42104716cf0 (patch)
tree25704e6e929bc209281b1859917be9935e4007b0 /contrib/pgcrypto/internal.c
parent3c52d17fa66ab1ac447fcc052df9dde470d5b195 (diff)
More pgcrypto fixes: avoid bogus alignment assumptions in sha2,
be more wary about having a value for BYTE_ORDER, clean up randomly- chosen ways of including Postgres core headers. Marko Kreen and Tom Lane
Diffstat (limited to 'contrib/pgcrypto/internal.c')
-rw-r--r--contrib/pgcrypto/internal.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/pgcrypto/internal.c b/contrib/pgcrypto/internal.c
index 7bbd06a606c..4dcbb480696 100644
--- a/contrib/pgcrypto/internal.c
+++ b/contrib/pgcrypto/internal.c
@@ -26,15 +26,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $PostgreSQL: pgsql/contrib/pgcrypto/internal.c,v 1.19 2005/07/10 17:22:54 tgl Exp $
+ * $PostgreSQL: pgsql/contrib/pgcrypto/internal.c,v 1.20 2005/07/11 15:07:59 tgl Exp $
*/
+#include "postgres.h"
-#include <postgres.h>
#include <time.h>
#include "px.h"
-
#include "md5.h"
#include "sha1.h"
#include "sha2.h"