diff options
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r-- | src/interfaces/libpq/fe-auth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index 54acd0f6bf8..f4397afc649 100644 --- a/src/interfaces/libpq/fe-auth.c +++ b/src/interfaces/libpq/fe-auth.c @@ -1183,8 +1183,7 @@ PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user, * send the password in plaintext even if it was "off". */ if (strcmp(algorithm, "on") == 0 || - strcmp(algorithm, "off") == 0 || - strcmp(algorithm, "plain") == 0) + strcmp(algorithm, "off") == 0) algorithm = "md5"; /* |