2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-26 04:17:29 +00:00

Merge pull request #4852 from MichaelEischer/master

crypto: cleanup ciphertext verification error
This commit is contained in:
Michael Eischer 2024-06-07 19:06:08 +02:00 committed by GitHub
commit 112de8526d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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