Fix warning "supplied key param cannot be coerced into a public key"
This commit is contained in:
parent
1414d43597
commit
a548e7c4be
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue