]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Magicsig warning message would fail to get bits
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 2 Jun 2014 11:35:29 +0000 (13:35 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 2 Jun 2014 11:35:29 +0000 (13:35 +0200)
plugins/OStatus/classes/Magicsig.php

index e36c1552f86681f9b2f33f8c72896daf8528f403..2b131a73dbea6fe4c0a25b2e4ddf56cc3e39cbdd 100644 (file)
@@ -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));
             }
         }