From 84288dbac27ab7d0c34176a4325714db691a312e Mon Sep 17 00:00:00 2001 From: David Hook Date: Tue, 2 Jul 2024 12:50:01 +1000 Subject: [PATCH] added back signature check --- .../org/bouncycastle/openpgp/test/OperatorBcTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pg/src/test/java/org/bouncycastle/openpgp/test/OperatorBcTest.java b/pg/src/test/java/org/bouncycastle/openpgp/test/OperatorBcTest.java index 908f05cc03..b38cfc12fe 100644 --- a/pg/src/test/java/org/bouncycastle/openpgp/test/OperatorBcTest.java +++ b/pg/src/test/java/org/bouncycastle/openpgp/test/OperatorBcTest.java @@ -465,10 +465,10 @@ private void keyringTest(String algorithmName1, String ed_str, int ed_num, Strin count++; sig.init(new JcaPGPContentVerifierBuilderProvider().setProvider("BC"), vKey); // TODO: appears to be failing on CI system -// if (!sig.verifyCertification(vKey, sKey)) -// { -// fail("failed to verify sub-key signature."); -// } + if (!sig.verifyCertification(vKey, sKey)) + { + fail("failed to verify sub-key signature."); + } } }