Skip to content

Commit 7091145

Browse files
committed
Reference GitHub issue 312 instead of Google Code issue 306.
1 parent 25a1b47 commit 7091145

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/test/java/org/owasp/esapi/crypto/ESAPICryptoMACByPassTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* OWASP Enterprise Security API (ESAPI) - Google issue # 306.
3+
* (i.e., GitHub issue 312).
34
*
45
* This file is part of the Open Web Application Security Project (OWASP)
56
* Enterprise Security API (ESAPI) project. For details, please see
@@ -92,8 +93,8 @@ public void testMacBypass() throws EncryptionException, NoSuchFieldException, Il
9293
// subsequent lines in the try block.
9394
PlainText pt = ESAPI.encryptor().decrypt(sk,modifierCtObj);
9495
System.out.printf("Decrypting to '%s' (probably will look like garbage!)\n", new String(pt.asBytes()));
95-
System.out.println("This ESAPI version vulnerable to MAC by-pass described in Google issue # 306! Upgrade to latest version.");
96-
fail("This ESAPI version is vulnerable to MAC by-pass described in Google issue # 306! Upgrade to latest version.");
96+
System.out.println("This ESAPI version vulnerable to MAC by-pass described in GitHub issue # 312! Upgrade to latest version.");
97+
fail("This ESAPI version is vulnerable to MAC by-pass described in GitHub issue # 312! Upgrade to latest version.");
9798
} catch(EncryptionException eex) {
9899
String errMsg = eex.getMessage();
99100
// See private String DECRYPTION_FAILED in JavaEncryptor.
@@ -228,4 +229,4 @@ private void writeString(ByteArrayOutputStream baos, String str)
228229
}
229230
}
230231

231-
}
232+
}

0 commit comments

Comments
 (0)