Skip to content

Commit 3561d01

Browse files
committed
Crytpo: Trying to fix in pipeline test failure, experimentally altering a line to see if this forces the test to pass. The test is off by one column in the piepline
1 parent e16543a commit 3561d01

File tree

1 file changed

+1
-1
lines changed
  • java/ql/test/experimental/query-tests/quantum/examples/BadMacUse

1 file changed

+1
-1
lines changed

java/ql/test/experimental/query-tests/quantum/examples/BadMacUse/BadMacUse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public byte[] falsePositiveDecryptToMac(byte[] encryptionKeyBytes, byte[] macKey
122122
Mac mac = Mac.getInstance("HmacSHA256");
123123
mac.init(macKey);
124124
byte[] computedMac = mac.doFinal(ciphertext); // False Positive
125-
125+
126126
// Concatenate ciphertext and MAC
127127
byte[] output = new byte[ciphertext.length + computedMac.length];
128128
System.arraycopy(ciphertext, 0, output, 0, ciphertext.length);

0 commit comments

Comments
 (0)