Skip to content

Commit 591e034

Browse files
committed
Change required by tweak to CipherText.toString() method.
1 parent a27c36a commit 591e034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public final void testWithBouncyCastle() {
128128
// validate this, so we look at the String representation of this CipherText
129129
// object and pick it out of there.
130130
String str = ct.toString();
131-
assertTrue( str.matches(".*, MAC is absent;.*") );
131+
assertTrue( str.matches(".*; MAC is absent;.*") );
132132
} catch (EncryptionException e) {
133133
fail("Encryption w/ Bouncy Castle failed with EncryptionException for preferred " +
134134
"cipher transformation; exception was: " + e);

0 commit comments

Comments
 (0)