Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import NIOCore
#if canImport(Darwin)
import Dispatch
import Foundation
import Security
@preconcurrency import Security

extension SSLConnection {
func performSecurityFrameworkValidation(
Expand Down
3 changes: 3 additions & 0 deletions Sources/NIOSSL/SubjectAlternativeName.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ public struct _SubjectAlternativeNames {
// _SubjectAlternativeNames is immutable and therefore Sendable
extension _SubjectAlternativeNames: @unchecked Sendable {}

// _SubjectAlternativeNames.Storage is immutable and therefore Sendable
extension _SubjectAlternativeNames.Storage: @unchecked Sendable {}

extension _SubjectAlternativeNames: RandomAccessCollection {

@inlinable public subscript(position: Int) -> _SubjectAlternativeName {
Expand Down