diff options
author | Peter Eisentraut | 2012-01-14 13:01:24 +0000 |
---|---|---|
committer | Peter Eisentraut | 2012-01-14 13:01:24 +0000 |
commit | ea038d65c2460408296a5708da8bb0bd8f3d00bc (patch) | |
tree | d7210a05bf8eac40b4a988ba2dd73b93e177b5d6 | |
parent | d0dcb315db0043f10073a9a244cea138e9e60edd (diff) |
initdb: Remove support for crypt authentication method
This was removed from the backend a long time ago, but initdb still
thought that it was OK to use in the -A option.
-rw-r--r-- | src/bin/initdb/initdb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index e0474f7f575..9df2656f610 100644 --- 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)) { |