diff options
Diffstat (limited to 'contrib/pgcrypto/px-crypt.c')
-rw-r--r-- | contrib/pgcrypto/px-crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgcrypto/px-crypt.c b/contrib/pgcrypto/px-crypt.c index d2e1682e159..63ec038dc54 100644 --- a/contrib/pgcrypto/px-crypt.c +++ b/contrib/pgcrypto/px-crypt.c @@ -96,7 +96,7 @@ px_crypt(const char *psw, const char *salt, char *buf, unsigned len) { if (!c->id_len) break; - if (!strncmp(salt, c->id, c->id_len)) + if (strncmp(salt, c->id, c->id_len) == 0) break; } |