diff --git a/AFNetworking/AFURLConnectionOperation.m b/AFNetworking/AFURLConnectionOperation.m index 595ea86..46a2d7b 100644 --- a/AFNetworking/AFURLConnectionOperation.m +++ b/AFNetworking/AFURLConnectionOperation.m @@ -634,6 +634,7 @@ willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challe } } + NSLog(@"Error: Unknown Public Key during Pinning operation"); [[challenge sender] cancelAuthenticationChallenge:challenge]; break; } @@ -646,6 +647,7 @@ willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challe } } + NSLog(@"Error: Unknown Certificate during Pinning operation"); [[challenge sender] cancelAuthenticationChallenge:challenge]; break; }