Fix symmetric session key test
This commit is contained in:
parent
ac8a49c114
commit
4e5b29eb4a
2 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue