Fix warning "supplied key param cannot be coerced into a public key"

2022.09-rc
Michael 2020-12-17 07:07:54 +00:00
rodzic 1414d43597
commit a548e7c4be
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -544,7 +544,7 @@ class HTTPSignature
$key = self::fetchKey($sig_block['keyId'], $actor); $key = self::fetchKey($sig_block['keyId'], $actor);
if (empty($key)) { if (empty($key) || empty($key['pubkey'])) {
return false; return false;
} }