Move getters to file excluded from android build (#88)

This commit is contained in:
wussler 2020-10-14 18:28:12 +02:00 committed by GitHub
parent ac353fcbef
commit d53bd4a351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 20 deletions

View file

@ -142,8 +142,8 @@ func (sk *SessionKey) Encrypt(message *PlainMessage) ([]byte, error) {
encryptWriter, err = packet.SerializeLiteral(
encryptWriter,
message.IsBinary(),
message.GetFilename(),
message.GetTime(),
message.Filename,
message.Time,
)
if err != nil {