Follow the RFCs more closely in libpq server certificate hostname check.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Follow the RFCs more closely in libpq server certificate hostname check. The RFCs say that the CN must not be checked if a subjectAltName extension of type dNSName is present. IOW, if subjectAltName extension is present, but there are no dNSNames, we can still check the CN. Alexey Klyukin
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-secure-openssl.c | modified | +5 −4 |