2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 14:56:29 +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 ( var (
// ErrUnauthenticated is returned when ciphertext verification has failed. // 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 // Key holds encryption and message authentication keys for a repository. It is stored