Skip to content

Commit 2a7a20e

Browse files
committed
remove ununsed
1 parent 67cbf29 commit 2a7a20e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/software/amazon/encryption/s3/internal/GetEncryptedObjectPipeline.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import software.amazon.encryption.s3.materials.DecryptionMaterials;
1818
import software.amazon.encryption.s3.materials.EncryptedDataKey;
1919

20-
import javax.crypto.SecretKey;
2120
import java.nio.ByteBuffer;
2221
import java.util.Collections;
2322
import java.util.List;
@@ -139,8 +138,8 @@ public void onStream(SdkPublisher<ByteBuffer> ciphertextPublisher) {
139138
long[] desiredRange = RangedGetUtils.getRange(materials.getContentRange());
140139
long[] cryptoRange = RangedGetUtils.getCryptoRange(materials.getContentRange());
141140
AlgorithmSuite algorithmSuite = materials.algorithmSuite();
142-
SecretKey contentKey = materials.dataKey();
143-
final int tagLength = algorithmSuite.cipherTagLengthBits();
141+
// SecretKey contentKey = materials.dataKey();
142+
// final int tagLength = algorithmSuite.cipherTagLengthBits();
144143
byte[] iv = contentMetadata.contentIv();
145144
if (algorithmSuite == AlgorithmSuite.ALG_AES_256_CTR_IV16_TAG16_NO_KDF) {
146145
iv = AesCtrUtils.adjustIV(iv, cryptoRange[0]);

0 commit comments

Comments
 (0)