ProcessLoginTask: drop usage of no-op method

this is no longer useful since 8.0.
This commit is contained in:
Dylan K. Taylor 2021-12-16 18:46:34 +00:00
parent 920462bdcc
commit aa56c66a3c
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -33,7 +33,6 @@ use function base64_decode;
use function igbinary_serialize;
use function igbinary_unserialize;
use function openssl_error_string;
use function openssl_free_key;
use function time;
class ProcessLoginTask extends AsyncTask{
@ -158,8 +157,6 @@ class ProcessLoginTask extends AsyncTask{
throw new VerifyLoginException($e->getMessage(), 0, $e);
}
@openssl_free_key($signingKeyOpenSSL);
if($headers->x5u === self::MOJANG_ROOT_PUBLIC_KEY){
$this->authenticated = true; //we're signed into xbox live
}