summary refs log tree commit diff
path: root/crypto/src/asn1/ess/ESSCertID.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/ess/ESSCertID.cs')
-rw-r--r--crypto/src/asn1/ess/ESSCertID.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/src/asn1/ess/ESSCertID.cs b/crypto/src/asn1/ess/ESSCertID.cs
index 4d449a746..b4465ea4f 100644
--- a/crypto/src/asn1/ess/ESSCertID.cs
+++ b/crypto/src/asn1/ess/ESSCertID.cs
@@ -1,6 +1,7 @@
 using System;
 
 using Org.BouncyCastle.Asn1.X509;
+using Org.BouncyCastle.Utilities;
 
 namespace Org.BouncyCastle.Asn1.Ess
 {
@@ -25,7 +26,7 @@ namespace Org.BouncyCastle.Asn1.Ess
 
 			throw new ArgumentException(
 				"unknown object in 'EssCertID' factory : "
-				+ o.GetType().Name + ".");
+                + Platform.GetTypeName(o) + ".");
 		}
 
 		/**