Skip to content

Commit ea038d6

Browse files
committed
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.
1 parent d0dcb31 commit ea038d6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/initdb/initdb.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2675,7 +2675,6 @@ main(int argc, char *argv[])
26752675
strcmp(authmethod, "pam") != 0 &&
26762676
strncmp(authmethod, "pam ", 4) != 0 && /* pam with space = param */
26772677
#endif
2678-
strcmp(authmethod, "crypt") != 0 &&
26792678
strcmp(authmethod, "password") != 0
26802679
)
26812680

@@ -2690,7 +2689,6 @@ main(int argc, char *argv[])
26902689
}
26912690

26922691
if ((strcmp(authmethod, "md5") == 0 ||
2693-
strcmp(authmethod, "crypt") == 0 ||
26942692
strcmp(authmethod, "password") == 0) &&
26952693
!(pwprompt || pwfilename))
26962694
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy