postgresql/src
Heikki Linnakangas acd08d764a Support Subject Alternative Names in SSL server certificates.
This patch makes libpq check the server's hostname against DNS names listed
in the X509 subjectAltName extension field in the server certificate. This
allows the same certificate to be used for multiple domain names. If there
are no SANs in the certificate, the Common Name field is used, like before
this patch. If both are given, the Common Name is ignored. That is a bit
surprising, but that's the behavior mandated by the relevant RFCs, and it's
also what the common web browsers do.

This also adds a libpq_ngettext helper macro to allow plural messages to be
translated in libpq. Apparently this happened to be the first plural message
in libpq, so it was not needed before.

Alexey Klyukin, with some kibitzing by me.
2014-09-12 17:17:05 +03:00
..
backend Fix GIN data page split ratio calculation. 2014-09-12 11:27:56 +03:00
bin Fix vacuumdb --analyze-in-stages --all order 2014-09-11 21:40:46 -04:00
common Small message fixes 2014-08-09 00:07:00 -04:00
include Add 'ignore_nulls' option to row_to_json 2014-09-11 21:23:51 -04:00
interfaces Support Subject Alternative Names in SSL server certificates. 2014-09-12 17:17:05 +03:00
makefiles Add file version information to most installed Windows binaries. 2014-07-14 14:07:52 -04:00
pl Check number of parameters in RAISE statement at compile time. 2014-09-02 15:56:50 +03:00
port Add support for optional_argument to our own getopt_long() implementation. 2014-09-10 17:21:50 +02:00
template Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
test Fix power_var_int() for large integer exponents. 2014-09-11 23:30:51 -04:00
timezone Finish adding file version information to installed Windows binaries. 2014-08-18 22:59:53 -04:00
tools Add valgrind suppression for padding bytes in twophase records. 2014-09-01 15:59:44 +02:00
tutorial Adjust blank lines around PG_MODULE_MAGIC defines, for consistency 2014-07-10 14:02:08 -04:00
.gitignore
bcc32.mak
DEVELOPERS
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Support older versions of "prove" 2014-09-10 20:52:34 -04:00
Makefile.shlib Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak