Remove to_bytes() methods

This commit is contained in:
Deon George
2020-06-24 22:46:20 +10:00
parent 9936e839a4
commit fc914b727d
6 changed files with 8 additions and 20 deletions

View File

@@ -23,8 +23,7 @@ class SymmetricSessionKeyPacket extends Packet
function body()
{
return chr($this->version) . chr($this->symmetric_algorithm) .
$this->s2k->to_bytes() . $this->encrypted_data;
return chr($this->version).chr($this->symmetric_algorithm).$this->s2k.$this->encrypted_data;
}
function read()