Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2013-05-24 11:09:54 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2013-05-24 11:09:54 +0400
commitf1a0d7e61ad8c626e88a1486da4b282928ef3bc3 (patch)
treedb02a21800c85e86cb372253a63d79a92cc69c6a
parentdff006b341fa1d94c0a1e8e315f019721aeabe5f (diff)
update
-rw-r--r--src/test/java/org/bouncycastle/openssl/test/ParserTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/org/bouncycastle/openssl/test/ParserTest.java b/src/test/java/org/bouncycastle/openssl/test/ParserTest.java
index 188b536b..d7d49555 100644
--- a/src/test/java/org/bouncycastle/openssl/test/ParserTest.java
+++ b/src/test/java/org/bouncycastle/openssl/test/ParserTest.java
@@ -130,6 +130,11 @@ public class ParserTest
ASN1ObjectIdentifier ecOID = (ASN1ObjectIdentifier)pemRd.readObject();
X9ECParameters ecSpec = ECNamedCurveTable.getByOID(ecOID);
+ if (ecSpec != null)
+ {
+ fail("ecSpec not found for named curve");
+ }
+
pemPair = (PEMKeyPair)pemRd.readObject();
pair = new JcaPEMKeyConverter().setProvider("BC").getKeyPair(pemPair);