Made message signing in Cryptography use SHA512 as the message content for... #1
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue