Skip to content

Commit

Permalink
fixed TAcmeLetsEncrypt unexpected GPF
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Sep 12, 2023
1 parent 46396fc commit 2eb35d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'2.1.5862'
'2.1.5863'
4 changes: 2 additions & 2 deletions src/net/mormot.net.acme.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1213,8 +1213,8 @@ function TAcmeLetsEncrypt.GetClient(
for i := 0 to length(fClient) - 1 do
begin
result := fClient[i];
if FindPropName(pointer(result.Subjects), ServerName,
length(result.Subjects)) >= 0 then
if FindCsvIndex(
pointer(result.Subjects), ServerName, ',', {casesens=}false) >= 0 then
exit;
end;
result := nil; // not found
Expand Down

0 comments on commit 2eb35d6

Please sign in to comment.