From c1dc13bef085c3b15279bcfa8b106d9564128cef Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 2 Jun 2014 13:35:29 +0200 Subject: [PATCH] Magicsig warning message would fail to get bits --- plugins/OStatus/classes/Magicsig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/OStatus/classes/Magicsig.php b/plugins/OStatus/classes/Magicsig.php index e36c1552f8..2b131a73db 100644 --- a/plugins/OStatus/classes/Magicsig.php +++ b/plugins/OStatus/classes/Magicsig.php @@ -99,7 +99,7 @@ class Magicsig extends Managed_DataObject // legacy very-old-StatusNet generated keypairs. if (strlen($obj->publicKey->modulus->toBits()) < 1024) { 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)); } }