1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Move md5.h contents to crypt.h.

This commit is contained in:
Bruce Momjian
2001-08-15 21:08:21 +00:00
parent b5b0ce2bb7
commit d4fb1b2388
7 changed files with 17 additions and 34 deletions

View File

@@ -9,7 +9,7 @@
* Dec 17, 1997 - Todd A. Brandys
* Orignal Version Completed.
*
* $Id: crypt.c,v 1.33 2001/08/15 18:42:14 momjian Exp $
* $Id: crypt.c,v 1.34 2001/08/15 21:08:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,7 +19,6 @@
#include "postgres.h"
#include "libpq/crypt.h"
#include "libpq/md5.h"
#include "miscadmin.h"
#include "storage/fd.h"
#include "utils/nabstime.h"

View File

@@ -18,7 +18,7 @@
#include <errno.h>
#include "postgres.h"
#include "libpq/md5.h"
#include "libpq/crypt.h"
/*
* PRIVATE FUNCTIONS
@@ -249,7 +249,7 @@ bytesToHex(unsigned8 b[16], char *s)
*
* Calculates the MD5 sum of the bytes in a buffer.
*
* SYNOPSIS #include "md5.h"
* SYNOPSIS #include "crypt.h"
* int md5_hash(const void *buff, size_t len, char *hexsum)
*
* INPUT buff the buffer containing the bytes that you want