Skip to content

Commit 027f515

Browse files
committed
Restore testKeyFactory
1 parent 1e78389 commit 027f515

File tree

1 file changed

+4
-4
lines changed
  • prov/src/test/java/org/bouncycastle/pqc/jcajce/provider/test

1 file changed

+4
-4
lines changed

prov/src/test/java/org/bouncycastle/pqc/jcajce/provider/test/SLHDSATest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,14 @@ public void testKeyFactory()
151151
NISTObjectIdentifiers.id_hash_slh_dsa_shake_256f_with_shake256,
152152
NISTObjectIdentifiers.id_hash_slh_dsa_shake_256s_with_shake256,
153153
};
154-
155-
for (int i = 0; i != 1; i++)
154+
155+
for (int i = 0; i != names.length; i++)
156156
{
157157
KeyPairGenerator kpGen = KeyPairGenerator.getInstance(names[i]);
158158
KeyPair kp = kpGen.generateKeyPair();
159-
System.err.println(names[i]);
159+
160160
tryKeyFact(KeyFactory.getInstance(names[i], "BC"), kp, kp44, "2.16.840.1.101.3.4.3.17");
161-
// tryKeyFact(KeyFactory.getInstance(oids[i].toString(), "BC"), kp, kp44, "2.16.840.1.101.3.4.3.17");
161+
tryKeyFact(KeyFactory.getInstance(oids[i].toString(), "BC"), kp, kp44, "2.16.840.1.101.3.4.3.17");
162162
}
163163
}
164164

0 commit comments

Comments
 (0)