Made message signing in Cryptography use SHA512 as the message content for... #1

Closed
netkas wants to merge 421 commits from master into dev
Showing only changes of commit ffa3eac722 - Show all commits

View file

@ -129,6 +129,11 @@
*/ */
public static function addMock(string $domain, DnsRecord|string $record): void public static function addMock(string $domain, DnsRecord|string $record): void
{ {
if(isset(self::$mockedRecords[$domain]))
{
return;
}
if(is_string($record)) if(is_string($record))
{ {
$record = DnsHelper::parseTxt($record); $record = DnsHelper::parseTxt($record);