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

Commit835cc11

Browse files
committed
Fix typo in initdb's SCRAM password processing.
Noted by Coverity (a rather impressive catch).Michael Paquier
1 parent5d3f7c5 commit835cc11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/initdb/initdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2331,7 +2331,7 @@ check_need_password(const char *authmethodlocal, const char *authmethodhost)
23312331
strcmp(authmethodlocal,"scram")==0)&&
23322332
(strcmp(authmethodhost,"md5")==0||
23332333
strcmp(authmethodhost,"password")==0||
2334-
strcmp(authmethodlocal,"scram")==0)&&
2334+
strcmp(authmethodhost,"scram")==0)&&
23352335
!(pwprompt||pwfilename))
23362336
{
23372337
fprintf(stderr,_("%s: must specify a password for the superuser to enable %s authentication\n"),progname,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp