alts:Remove character dropped from error message (#10068)

The DECRYPTION_FAILURE_RE matcher had an exclamation point that was dropped from the related error message between Java 11 and 19.

Fixes #10011
This commit is contained in:
Larry Safran 2023-04-20 11:05:36 -07:00 committed by GitHub
parent 8aa25476e9
commit 9204223c16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ import javax.crypto.AEADBadTagException;
/** Utility class that provides tests for implementations of {@link TsiHandshaker}. */ /** Utility class that provides tests for implementations of {@link TsiHandshaker}. */
public final class TsiTest { public final class TsiTest {
private static final String DECRYPTION_FAILURE_RE = "Tag mismatch!|BAD_DECRYPT"; private static final String DECRYPTION_FAILURE_RE = "Tag mismatch|BAD_DECRYPT";
private TsiTest() {} private TsiTest() {}