Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0dcb31
)
initdb: Remove support for crypt authentication method
author
Peter Eisentraut
<peter_e@gmx.net>
Sat, 14 Jan 2012 13:01:24 +0000
(15:01 +0200)
committer
Peter Eisentraut
<peter_e@gmx.net>
Sat, 14 Jan 2012 13:01:24 +0000
(15:01 +0200)
This was removed from the backend a long time ago, but initdb still
thought that it was OK to use in the -A option.
src/bin/initdb/initdb.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/initdb/initdb.c
b/src/bin/initdb/initdb.c
index e0474f7f575be889d7c874a0694ce92687f8a4a2..9df2656f6101efd585fc9d750afc8d4008ec4957 100644
(file)
--- a/
src/bin/initdb/initdb.c
+++ b/
src/bin/initdb/initdb.c
@@
-2675,7
+2675,6
@@
main(int argc, char *argv[])
strcmp(authmethod, "pam") != 0 &&
strncmp(authmethod, "pam ", 4) != 0 && /* pam with space = param */
#endif
- strcmp(authmethod, "crypt") != 0 &&
strcmp(authmethod, "password") != 0
)
@@
-2690,7
+2689,6
@@
main(int argc, char *argv[])
}
if ((strcmp(authmethod, "md5") == 0 ||
- strcmp(authmethod, "crypt") == 0 ||
strcmp(authmethod, "password") == 0) &&
!(pwprompt || pwfilename))
{