diff options
| author | Tobias Markmann <tobias.markmann@isode.com> | 2019-11-14 13:45:27 (GMT) |
|---|---|---|
| committer | Tobias Markmann <tobias.markmann@isode.com> | 2019-11-14 13:45:45 (GMT) |
| commit | caca46ceedddd43c707e7eda9b4c765d61730ccb (patch) | |
| tree | 0f6f61935d79d0a0931e50ef0c21828e8b3c9a48 /Swiften/TLS | |
| parent | 7a4d44dbc444b68b665535bb38847cfa48bfee3f (diff) | |
| download | swift-caca46ceedddd43c707e7eda9b4c765d61730ccb.zip swift-caca46ceedddd43c707e7eda9b4c765d61730ccb.tar.bz2 | |
Remove extra semicolons
clang-trunk complained about them and ideally Swift would
build without warnings.
Test-Information:
Builds find and tests pass.
Change-Id: I1896befef0e65a980cc22f402e126aec8b56e71f
Diffstat (limited to 'Swiften/TLS')
| -rw-r--r-- | Swiften/TLS/SecureTransport/SecureTransportContext.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/TLS/SecureTransport/SecureTransportContext.mm b/Swiften/TLS/SecureTransport/SecureTransportContext.mm index 1ed636b..25f476f 100644 --- a/Swiften/TLS/SecureTransport/SecureTransportContext.mm +++ b/Swiften/TLS/SecureTransport/SecureTransportContext.mm | |||
| @@ -376,7 +376,7 @@ std::vector<Certificate::ref> SecureTransportContext::getPeerCertificateChain() | |||
| 376 | typedef boost::remove_pointer<SecTrustRef>::type SecTrust; | 376 | typedef boost::remove_pointer<SecTrustRef>::type SecTrust; |
| 377 | std::shared_ptr<SecTrust> securityTrust; | 377 | std::shared_ptr<SecTrust> securityTrust; |
| 378 | 378 | ||
| 379 | SecTrustRef secTrust = nullptr;; | 379 | SecTrustRef secTrust = nullptr; |
| 380 | OSStatus error = SSLCopyPeerTrust(sslContext_.get(), &secTrust); | 380 | OSStatus error = SSLCopyPeerTrust(sslContext_.get(), &secTrust); |
| 381 | if (error == noErr) { | 381 | if (error == noErr) { |
| 382 | securityTrust = std::shared_ptr<SecTrust>(secTrust, CFRelease); | 382 | securityTrust = std::shared_ptr<SecTrust>(secTrust, CFRelease); |
Swift