Skip to content

Commit

Permalink
Fixed casing of private Match() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricky Kaare Engelharth committed Sep 19, 2014
1 parent 5ae8f4a commit 81a85bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModernHttpClient/iOS/NSUrlSessionHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public override void DidReceiveChallenge(NSUrlSession session, NSUrlSessionTask
var subject = root.Subject;
var subjectCn = cnRegex.Match(subject).Groups[1].Value;

if (String.IsNullOrWhiteSpace(subjectCn) || !Match(task.CurrentRequest.Url.Host, subjectCn)) {
if (String.IsNullOrWhiteSpace(subjectCn) || !match(task.CurrentRequest.Url.Host, subjectCn)) {
errors = SslPolicyErrors.RemoteCertificateNameMismatch;
goto sslErrorVerify;
}
Expand Down

0 comments on commit 81a85bf

Please sign in to comment.