Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3766

fix IPv6 hostname literal matching on Windows

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: network
    • None

      Enabling TLS certificate validation in the unit tests (CDRIVER-3579) revealed that IPv6 hostname matching on Windows is buggy. Specifically, the logic does not consider the IPv6 addresses 0:0:0:0:0:0:0:1 and [::1] to be equivalent. As a result, a certificate trust failure is encountered in that situation. Once that is fixed, the workaround code in test-mongoc-client.c should be removed. It can be found by searching for the reference to this ticket.

            Assignee:
            Unassigned Unassigned
            Reporter:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: