mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Silence openssl_free_key() deprecation warnings on 8.0
we don't give a shit and these calls are currently needed for 7.4.
This commit is contained in:
@ -80,8 +80,8 @@ class PrepareEncryptionTask extends AsyncTask{
|
||||
$this->aesKey = EncryptionUtils::generateKey($sharedSecret, $salt);
|
||||
$this->handshakeJwt = EncryptionUtils::generateServerHandshakeJwt($serverPriv, $salt);
|
||||
|
||||
openssl_free_key($serverPriv);
|
||||
openssl_free_key($clientPub);
|
||||
@openssl_free_key($serverPriv);
|
||||
@openssl_free_key($clientPub);
|
||||
}
|
||||
|
||||
public function onCompletion() : void{
|
||||
|
Reference in New Issue
Block a user