Remove to_bytes() methods
This commit is contained in:
@@ -29,7 +29,7 @@ class SecretKeyPacket extends PublicKeyPacket
|
||||
$secret_material = NULL;
|
||||
if($this->s2k_useage == 255 || $this->s2k_useage == 254) {
|
||||
$bytes .= chr($this->symmetric_algorithm);
|
||||
$bytes .= $this->s2k->to_bytes();
|
||||
$bytes .= (string)$this->s2k;
|
||||
}
|
||||
if($this->s2k_useage > 0) {
|
||||
$bytes .= $this->encrypted_data;
|
||||
|
Reference in New Issue
Block a user