1
1
Fork 0

Fix self call

was self when in Crypto..
This commit is contained in:
Adam Magness 2017-12-31 08:29:03 -05:00
parent db653e4451
commit fe3dac4825

View file

@ -207,7 +207,7 @@ class Salmon
*/ */
public static function salmonKey($pubkey) public static function salmonKey($pubkey)
{ {
self::pemToMe($pubkey, $m, $e); Crypto::pemToMe($pubkey, $m, $e);
return 'RSA' . '.' . base64url_encode($m, true) . '.' . base64url_encode($e, true); return 'RSA' . '.' . base64url_encode($m, true) . '.' . base64url_encode($e, true);
} }
} }