mirror of
https://github.com/restic/restic.git
synced 2025-10-29 08:18:59 +00:00
Use large, dynamic buffer for encrypting maps
This commit is contained in:
@@ -48,7 +48,7 @@ func TestCrypto(t *testing.T) {
|
||||
Sign: tv.skey,
|
||||
}
|
||||
|
||||
msg := make([]byte, MaxCiphertextSize)
|
||||
msg := make([]byte, maxCiphertextSize)
|
||||
n, err := r.encrypt(r.master, msg, tv.plaintext)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user