We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd630c commit 07f60a6Copy full SHA for 07f60a6
src/test/java/com/amazonaws/encryptionsdk/ParsedCiphertextTest.java
@@ -14,6 +14,7 @@
14
package com.amazonaws.encryptionsdk;
15
16
import com.amazonaws.encryptionsdk.internal.StaticMasterKey;
17
+import com.amazonaws.encryptionsdk.internal.VersionInfo;
18
import com.amazonaws.encryptionsdk.model.CiphertextHeaders;
19
import org.junit.Before;
20
import org.junit.Test;
@@ -68,7 +69,7 @@ public void incompleteZeroByteCiphertext() {
68
69
70
@Test(expected = BadCiphertextException.class)
71
public void incompleteSingleByteCiphertext() {
- final byte[] cipherText = {0};
72
+ final byte[] cipherText = {VersionInfo.CURRENT_CIPHERTEXT_VERSION};
73
ParsedCiphertext pCt = new ParsedCiphertext(cipherText);
74
}
75
0 commit comments