Fix symmetric session key test

This commit is contained in:
Aron Wussler 2020-04-29 17:23:16 +02:00 committed by wussler
parent ac8a49c114
commit 4e5b29eb4a
2 changed files with 7 additions and 4 deletions

View file

@ -70,7 +70,7 @@ func DecryptSessionKeyWithPassword(keyPacket, password []byte) (*SessionKey, err
}
}
return nil, errors.New("gopenpgp: password incorrect")
return nil, errors.New("gopenpgp: unable to decrypt any packet")
}
// EncryptSessionKeyWithPassword encrypts the session key with the password and