summary refs log tree commit diff
path: root/crypto/src/x509
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-02-07 17:19:28 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-02-07 17:19:28 +0700
commitd4978555b33327c750d59dc2cf2aa9874d122964 (patch)
tree17db33a8f9afdab5e2de187fd0b8616679849715 /crypto/src/x509
parentFix serial number comparison (diff)
downloadBouncyCastle.NET-ed25519-d4978555b33327c750d59dc2cf2aa9874d122964.tar.xz
Misc. refactoring
Diffstat (limited to 'crypto/src/x509')
-rw-r--r--crypto/src/x509/X509Crl.cs10
1 files changed, 1 insertions, 9 deletions
diff --git a/crypto/src/x509/X509Crl.cs b/crypto/src/x509/X509Crl.cs
index a3f08a0ed..3780d277a 100644
--- a/crypto/src/x509/X509Crl.cs
+++ b/crypto/src/x509/X509Crl.cs
@@ -404,15 +404,7 @@ namespace Org.BouncyCastle.X509
 		 * @return true if the given certificate is on this CRL,
 		 * false otherwise.
 		 */
-//		public bool IsRevoked(
-//			Certificate cert)
-//		{
-//			if (!cert.getType().Equals("X.509"))
-//			{
-//				throw new RuntimeException("X.509 CRL used with non X.509 Cert");
-//			}
-		public virtual bool IsRevoked(
-			X509Certificate cert)
+		public virtual bool IsRevoked(X509Certificate cert)
 		{
 			CrlEntry[] certs = c.GetRevokedCertificates();