1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-21 23:33:03 +00:00

crypto: cleanup ciphertext verification error

This commit is contained in:
Michael Eischer 2024-06-05 22:33:20 +02:00
parent ef85a81e83
commit b82ecc6425

View file

@ -27,7 +27,7 @@ const (
var (
// ErrUnauthenticated is returned when ciphertext verification has failed.
ErrUnauthenticated = errors.New("ciphertext verification failed")
ErrUnauthenticated = fmt.Errorf("ciphertext verification failed")
)
// Key holds encryption and message authentication keys for a repository. It is stored