Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e6e4c45a
Commit
e6e4c45a
authored
Nov 12, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments of duplicate definitions in interfaces/odbc/md5.h.
parent
75bb1e6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/include/c.h
src/include/c.h
+3
-1
src/include/libpq/crypt.h
src/include/libpq/crypt.h
+3
-1
No files found.
src/include/c.h
View file @
e6e4c45a
...
...
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: c.h,v 1.10
8 2001/11/05 17:46:31
momjian Exp $
* $Id: c.h,v 1.10
9 2001/11/12 01:52:46
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -147,6 +147,7 @@
/* BeOS defines bool already, but the compiler chokes on the
* #ifndef unless we wrap it in this check.
*/
/* Also defined in interfaces/odbc/md5.h */
#ifndef __BEOS__
#ifndef __cplusplus
...
...
@@ -216,6 +217,7 @@ typedef signed int int32; /* == 32 bits */
* used for numerical computations and the
* frontend/backend protocol.
*/
/* Also defined in interfaces/odbc/md5.h */
#ifndef __BEOS__
/* this shouldn't be required, but is is! */
typedef
unsigned
char
uint8
;
/* == 8 bits */
typedef
unsigned
short
uint16
;
/* == 16 bits */
...
...
src/include/libpq/crypt.h
View file @
e6e4c45a
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: crypt.h,v 1.1
8 2001/11/05 17:46:33
momjian Exp $
* $Id: crypt.h,v 1.1
9 2001/11/12 01:52:46
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,7 @@
#define CRYPT_PWD_FILE_SEPSTR "\t"
/* Also defined in interfaces/odbc/md5.h */
#define MD5_PASSWD_LEN 35
#define isMD5(passwd) (strncmp((passwd),"md5",3) == 0 && \
...
...
@@ -30,6 +31,7 @@ extern int md5_crypt_verify(const Port *port, const char *user,
const
char
*
pgpass
);
extern
bool
md5_hash
(
const
void
*
buff
,
size_t
len
,
char
*
hexsum
);
extern
bool
CheckMD5Pwd
(
char
*
passwd
,
char
*
storedpwd
,
char
*
seed
);
/* Also defined in interfaces/odbc/md5.h */
extern
bool
EncryptMD5
(
const
char
*
passwd
,
const
char
*
salt
,
size_t
salt_len
,
char
*
buf
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment