Browse Source

Removed redundant switch case

svoit 7 years ago
parent
commit
e6c674ed84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AFNetworking/AFSecurityPolicy.m

+ 1 - 1
AFNetworking/AFSecurityPolicy.m

@@ -287,7 +287,7 @@ static NSArray * AFPublicKeyTrustChainForServerTrust(SecTrustRef serverTrust) {
             }
             return trustedPublicKeyCount > 0;
         }
-        case AFSSLPinningModeNone:
+            
         default:
             return NO;
     }