Allow full SSL certificate verification (wherein libpq checks its host name
parameter against server cert's CN field) to succeed in the case where
both host and hostaddr are specified. As with the existing precedents
for Kerberos, GSSAPI, SSPI, it is the calling application's responsibility
that host and hostaddr match up --- we just use the host name as given.
Per bug #5559 from Christopher Head.
In passing, make the error handling and messages for the no-host-name-given
failure more consistent among these four cases, and correct a lie in the
documentation: we don't attempt to reverse-lookup host from hostaddr
if host is missing.
Back-patch to 8.4 where SSL cert verification was introduced.
libpq.sgml (r1.289.2.2 -> r1.289.2.3)
fe-auth.c (r184.108.40.206 -> r220.127.116.11)
fe-secure.c (r18.104.22.168 -> r22.214.171.124)
libpq-int.h (r1.143 -> r126.96.36.199)
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2010-07-14 21:21:08|
|Subject: pgsql: Fix several problems in pg_dump's handling of SQL/MED objects, |
|Previous:||From: Tom Lane||Date: 2010-07-14 17:09:54|
|Subject: pgsql: Allow full SSL certificate verification (wherein libpq checks its |