projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4205c4
)
Fix compilation with --with-bsd-auth.
author
Heikki Linnakangas
<
[email protected]
>
Fri, 19 May 2017 09:21:55 +0000
(12:21 +0300)
committer
Heikki Linnakangas
<
[email protected]
>
Fri, 19 May 2017 09:21:55 +0000
(12:21 +0300)
Commit
8d3b9cce81
added extra arguments to the sendAuthRequest function,
but neglected this caller inside #ifdef USE_BSD_AUTH.
Per report from Pierre-Emmanuel André.
Discussion: https://www.postgresql.org/message-id/
20170519090336
[email protected]
src/backend/libpq/auth.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/libpq/auth.c
b/src/backend/libpq/auth.c
index f36d7b9b6dae9b23c6cbf0e6ed2979a2cb9954e4..c895ba0c326f8dd571c4b4db9536b469d3df4918 100644
(file)
--- a/
src/backend/libpq/auth.c
+++ b/
src/backend/libpq/auth.c
@@
-2262,7
+2262,7
@@
CheckBSDAuth(Port *port, char *user)
int retval;
/* Send regular password request to client, and get the response */
- sendAuthRequest(port, AUTH_REQ_PASSWORD);
+ sendAuthRequest(port, AUTH_REQ_PASSWORD
, NULL, 0
);
passwd = recv_password_packet(port);
if (passwd == NULL)