File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -751,7 +751,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
751
751
// dependency version changes here with those projects.
752
752
. package ( url: " https://github.com/apple/swift-argument-parser.git " , . upToNextMinor( from: " 1.2.2 " ) ) ,
753
753
. package ( url: " https://github.com/apple/swift-driver.git " , branch: relatedDependenciesBranch) ,
754
- . package ( url: " https://github.com/apple/swift-crypto.git " , . upToNextMinor( from: " 2.4.1 " ) ) ,
754
+ . package ( url: " https://github.com/apple/swift-crypto.git " , . upToNextMinor( from: " 2.5.0 " ) ) ,
755
755
. package ( url: " https://github.com/apple/swift-system.git " , . upToNextMinor( from: " 1.1.1 " ) ) ,
756
756
. package ( url: " https://github.com/apple/swift-collections.git " , . upToNextMinor( from: " 1.0.1 " ) ) ,
757
757
. package ( url: " https://github.com/apple/swift-certificates.git " , . upToNextMinor( from: " 0.3.0 " ) ) ,
Original file line number Diff line number Diff line change @@ -130,6 +130,15 @@ struct _OCSPVerifierPolicy: VerifierPolicy {
130
130
131
131
let verifyingCriticalExtensions : [ ASN1ObjectIdentifier ] = [ ]
132
132
133
+ /// Initializes an `_OCSPVerifierPolicy` that caches its results.
134
+ ///
135
+ /// - Parameters:
136
+ /// - failureMode: `OCSPFailureMode` that defines policy failure in event of failure.
137
+ /// Possible values are `hard` (OCSP request failure and unknown status
138
+ /// not allowed) or `soft` (OCSP request failure and unknown status allowed).
139
+ /// - httpClient: `HTTPClient` that backs`_OCSPRequester` for making OCSP requests.
140
+ /// - validationTime: The time used to decide if the OCSP request is relatively recent. It is
141
+ /// considered a failure if the request is too old.
133
142
init ( failureMode: OCSPFailureMode , httpClient: HTTPClient , validationTime: Date ) {
134
143
self . underlying = OCSPVerifierPolicy (
135
144
failureMode: failureMode,
You can’t perform that action at this time.
0 commit comments