We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52453cb commit b367d5bCopy full SHA for b367d5b
Sources/FoundationNetworking/URLSession/libcurl/EasyHandle.swift
@@ -230,7 +230,7 @@ extension _EasyHandle {
230
231
for certsFolder in certsFolders {
232
var isDirectory: ObjCBool = false
233
- if FileManager.default.fileExists(atPath: certsFolder, isDirectory: &isDirectory), isDirectory == true {
+ if FileManager.default.fileExists(atPath: certsFolder, isDirectory: &isDirectory), isDirectory.boolValue == true {
234
certsFolder.withCString { pathPtr in
235
try! CFURLSession_easy_setopt_ptr(rawHandle, CFURLSessionOptionCAPATH, UnsafeMutablePointer(mutating: pathPtr)).asError()
236
}
0 commit comments