Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea038d6

Browse files
committed
initdb: Remove support for crypt authentication method
This was removed from the backend a long time ago, but initdb stillthought that it was OK to use in the -A option.
1 parentd0dcb31 commitea038d6

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)

[8]ページ先頭

©2009-2025 Movatter.jp