diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2020-04-20 12:06:47 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2020-04-20 12:06:47 +0300 |
commit | f5151a80c4376edfded9aa76a588c4f927607d17 (patch) | |
tree | 0e5d1f82c04abb3e0e2a8ec30519c6bab6dd6088 /Carthage | |
parent | a5a3f83a7ba26fc7b005b33b5c8b821b61439549 (diff) |
build 33
Diffstat (limited to 'Carthage')
-rw-r--r-- | Carthage/Checkouts/KTVHTTPCache/KTVHTTPCache/Classes/KTVHCDownload/KTVHCDownload.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Carthage/Checkouts/KTVHTTPCache/KTVHTTPCache/Classes/KTVHCDownload/KTVHCDownload.m b/Carthage/Checkouts/KTVHTTPCache/KTVHTTPCache/Classes/KTVHCDownload/KTVHCDownload.m index ad799bf6a..e30de620b 100644 --- a/Carthage/Checkouts/KTVHTTPCache/KTVHTTPCache/Classes/KTVHCDownload/KTVHCDownload.m +++ b/Carthage/Checkouts/KTVHTTPCache/KTVHTTPCache/Classes/KTVHCDownload/KTVHCDownload.m @@ -231,6 +231,11 @@ NSString * const KTVHCContentTypeBinaryOctetStream = @"binary/octet-stream" [self unlock]; } +- (void)URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler +{ + completionHandler(NSURLSessionAuthChallengeUseCredential, [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust]); +} + - (void)lock { if (!self.coreLock) { |