Skip to content

Commit 77e065d

Browse files
committed
Update S3EncryptionClientTest.RsaOaepV2toV3
1 parent 88c0120 commit 77e065d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/S3EncryptionClientTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@ public void RsaOaepV2toV3() {
322322
EncryptionMaterialsProvider materialsProvider =
323323
new StaticEncryptionMaterialsProvider(new EncryptionMaterials(RSA_KEY_PAIR));
324324
CryptoConfigurationV2 cryptoConfig =
325-
new CryptoConfigurationV2(CryptoMode.StrictAuthenticatedEncryption)
326-
.withStorageMode(CryptoStorageMode.InstructionFile);
325+
new CryptoConfigurationV2(CryptoMode.StrictAuthenticatedEncryption);
327326
AmazonS3EncryptionV2 v2Client = AmazonS3EncryptionClientV2.encryptionBuilder()
328327
.withCryptoConfiguration(cryptoConfig)
329328
.withEncryptionMaterialsProvider(materialsProvider)

0 commit comments

Comments
 (0)