[GODRIVER-558] SSL option processing sets SSLCaFileSet when SSLCaFile is empty string Created: 17/Sep/18  Updated: 28/Oct/23  Resolved: 26/Sep/18

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.0.15

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

Issue Links:
Depends
is depended on by TOOLS-1833 Migrate tools (excluding mongoreplay)... Closed
is depended on by TOOLS-2127 POC for migrating to new Go driver Closed

 Description   

This line should have a guard against SSLCaFile being zero value, just like ClientCertificateKeyFile above.

I believe the only test case for SSL options is here and it only tests the case where filenames are provided for both.



 Comments   
Comment by Githook User [ 26/Sep/18 ]

Author:

{'name': 'David Golden', 'email': 'xdg@xdg.me', 'username': 'xdg'}

Message: GODRIVER-558 Don't set SSLCaFileSet on empty CaFile

Change-Id: I37a7c26136c84384612714aac2fd64b94fc03d72
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/6ea632f62162482c4d5fcdea91128e13336832a4

Comment by David Golden [ 21/Sep/18 ]

https://review.gerrithub.io/#/c/mongodb/mongo-go-driver/+/426413/

Generated at Thu Feb 08 08:34:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.