diff --git a/tst/com/amazon/corretto/crypto/provider/test/EvpSignatureTest.java b/tst/com/amazon/corretto/crypto/provider/test/EvpSignatureTest.java index dd76cea9..3751edce 100644 --- a/tst/com/amazon/corretto/crypto/provider/test/EvpSignatureTest.java +++ b/tst/com/amazon/corretto/crypto/provider/test/EvpSignatureTest.java @@ -434,7 +434,8 @@ public void verifyBadSignature(TestParams params) throws GeneralSecurityExceptio @MethodSource("params") public void verifyTruncatedSignature(TestParams params) throws GeneralSecurityException { params.verifier.update(params.message); - final byte[] badSignature = Arrays.copyOf(params.goodSignature, params.goodSignature.length - 1); + final byte[] badSignature = + Arrays.copyOf(params.goodSignature, params.goodSignature.length - 1); // Truncated signatures always throw now. assertThrows(SignatureException.class, () -> params.verifier.verify(badSignature)); } @@ -443,7 +444,8 @@ public void verifyTruncatedSignature(TestParams params) throws GeneralSecurityEx @MethodSource("params") public void verifyExtendedSignature(TestParams params) throws GeneralSecurityException { params.verifier.update(params.message); - final byte[] badSignature = Arrays.copyOf(params.goodSignature, params.goodSignature.length + 1); + final byte[] badSignature = + Arrays.copyOf(params.goodSignature, params.goodSignature.length + 1); // Extended signatures always throw now. assertThrows(SignatureException.class, () -> params.verifier.verify(badSignature)); }