Magicsig warning message would fail to get bits
This commit is contained in:
parent
db443e9374
commit
c1dc13bef0
|
@ -99,7 +99,7 @@ class Magicsig extends Managed_DataObject
|
||||||
// legacy very-old-StatusNet generated keypairs.
|
// legacy very-old-StatusNet generated keypairs.
|
||||||
if (strlen($obj->publicKey->modulus->toBits()) < 1024) {
|
if (strlen($obj->publicKey->modulus->toBits()) < 1024) {
|
||||||
common_log(LOG_WARNING, sprintf('Salmon key with <1024 bits (%d) belongs to profile with id==%d',
|
common_log(LOG_WARNING, sprintf('Salmon key with <1024 bits (%d) belongs to profile with id==%d',
|
||||||
strlen($this->publicKey->modulus->toBits()),
|
strlen($obj->publicKey->modulus->toBits()),
|
||||||
$obj->user_id));
|
$obj->user_id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user