forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit58e70cf
committed
Follow the RFCs more closely in libpq server certificate hostname check.
The RFCs say that the CN must not be checked if a subjectAltName extensionof type dNSName is present. IOW, if subjectAltName extension is present,but there are no dNSNames, we can still check the CN.Alexey Klyukin1 parent2df465e commit58e70cf
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
626 | 626 |
| |
627 | 627 |
| |
628 | 628 |
| |
629 |
| - | |
| 629 | + | |
| 630 | + | |
630 | 631 |
| |
631 |
| - | |
632 |
| - | |
| 632 | + | |
| 633 | + | |
633 | 634 |
| |
634 |
| - | |
| 635 | + | |
635 | 636 |
| |
636 | 637 |
| |
637 | 638 |
| |
|
0 commit comments
Comments
(0)