Fix self call
was self when in Crypto..
This commit is contained in:
parent
db653e4451
commit
fe3dac4825
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue