mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-27 05:40:01 +00:00
ProcessLoginTask: use strict base64_decode()
This commit is contained in:
parent
bc60bb9462
commit
ee36ac9875
@ -135,7 +135,7 @@ class ProcessLoginTask extends AsyncTask{
|
||||
$v = openssl_verify(
|
||||
"$headB64.$payloadB64",
|
||||
(new DerSignatureSerializer())->serialize($sig),
|
||||
(new PemPublicKeySerializer($derSerializer))->serialize($derSerializer->parse(base64_decode($currentPublicKey))),
|
||||
(new PemPublicKeySerializer($derSerializer))->serialize($derSerializer->parse(base64_decode($currentPublicKey, true))),
|
||||
OPENSSL_ALGO_SHA384
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user