Skip to content

Commit

Permalink
ACME v2 hotfix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SH committed Sep 30, 2019
1 parent 35e2c83 commit 3bd058d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lescript.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private function readPrivateKey($path)

private function parseFirstPemFromBody($body)
{
preg_match('~(-----BEGIN.*?END CERTIFICATE-----)~', $body, $matches);
preg_match('~(-----BEGIN.*?END CERTIFICATE-----)~s', $body, $matches);

return $matches[1];
}
Expand Down

0 comments on commit 3bd058d

Please sign in to comment.