remove the unused code for decrypting io.Writer (#8277)

This commit removes unused code for decrypting
`io.Writer` since the actual implementation only
decrypts `io.Reader`
This commit is contained in:
Andreas Auernhammer
2019-09-20 11:21:07 +02:00
committed by Nitish Tiwari
parent a9d724120f
commit b823d6d7bd
3 changed files with 10 additions and 252 deletions

View File

@@ -185,7 +185,7 @@ var containsReservedMetadataTests = []struct {
shouldFail: true,
},
{
header: http.Header{crypto.SSESealAlgorithm: []string{SSESealAlgorithmDareSha256}},
header: http.Header{crypto.SSESealAlgorithm: []string{crypto.InsecureSealAlgorithm}},
shouldFail: true,
},
{