Merge pull request #1451 from mdornseif/pinningWarning_1.x
1.x: Give a human readable Warning when SSL Pinning fails.
This commit is contained in:
commit
e18e4e01bc
1 changed files with 2 additions and 0 deletions
|
|
@ -634,6 +634,7 @@ willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NSLog(@"Error: Unknown Public Key during Pinning operation");
|
||||||
[[challenge sender] cancelAuthenticationChallenge:challenge];
|
[[challenge sender] cancelAuthenticationChallenge:challenge];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -646,6 +647,7 @@ willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NSLog(@"Error: Unknown Certificate during Pinning operation");
|
||||||
[[challenge sender] cancelAuthenticationChallenge:challenge];
|
[[challenge sender] cancelAuthenticationChallenge:challenge];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue