mirror of
https://github.com/restic/restic.git
synced 2026-10-24 09:48:54 +00:00
crypto.go nitpicks
This commit is contained in:
1 parent
a906b9febe
commit
c500b94216
6 files changed
+55
-86
No files matched your search
@@ -77,7 +77,6 @@ func DecryptFrom(ks *Key, rd io.Reader) (io.ReadCloser, error) {
|
||||
|
||||
ciphertext := buf.Bytes()
|
||||
|
||||
// decrypt
|
||||
ciphertext, err = Decrypt(ks, ciphertext, ciphertext)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in new issue
Block a user