Remove unused code + handle errors
This commit is contained in:
parent
e797299d64
commit
b820c14c1a
7 changed files with 26 additions and 12 deletions
|
|
@ -46,9 +46,6 @@ func (pm *PmCrypto) GetSessionFromKeyPacket(keyPackage []byte, privateKey *KeyRi
|
|||
|
||||
ek := p.(*packet.EncryptedKey)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
rawPwd := []byte(passphrase)
|
||||
var decryptErr error
|
||||
for _, key := range privateKey.entities.DecryptionKeys() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue