[CDRIVER-3762] Work around hostname matching bug for Secure Transport in tests Created: 17/Jul/20  Updated: 28/Oct/23  Resolved: 23/Jul/20

Status: Closed
Project: C Driver
Component/s: tests
Affects Version/s: None
Fix Version/s: 1.18.0, 1.17.3, 1.18.0-alpha

Type: Bug Priority: Major - P3
Reporter: Roberto Sanchez Assignee: Roberto Sanchez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

After turning off weak certificate validation for CDRIVER-3579, some tests in test-mongoc-client.c failed for IPv6 because macOS and Windows apparently do not consider [::1] to match 0:0:0:0:0:0:0:1.



 Comments   
Comment by Githook User [ 24/Nov/20 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: CDRIVER-3762 use allow_invalid_hostname in test to work around buggy comparison
Branch: r1.17
https://github.com/mongodb/mongo-c-driver/commit/0030d8b086affe84b6f47ddd2f2dedc4fd759574

Comment by Githook User [ 23/Jul/20 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: CDRIVER-3762 use allow_invalid_hostname in test to work around buggy comparison
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/c624b3c68cadd2ea4206a45f17da038501080943

Generated at Wed Feb 07 21:18:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.