diff options
-rw-r--r-- | src/test/java/org/bouncycastle/openssl/test/ParserTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/bouncycastle/openssl/test/ParserTest.java b/src/test/java/org/bouncycastle/openssl/test/ParserTest.java index d7d49555..521106b1 100644 --- a/src/test/java/org/bouncycastle/openssl/test/ParserTest.java +++ b/src/test/java/org/bouncycastle/openssl/test/ParserTest.java @@ -130,7 +130,7 @@ public class ParserTest ASN1ObjectIdentifier ecOID = (ASN1ObjectIdentifier)pemRd.readObject(); X9ECParameters ecSpec = ECNamedCurveTable.getByOID(ecOID); - if (ecSpec != null) + if (ecSpec == null) { fail("ecSpec not found for named curve"); } |