summary refs log tree commit diff
path: root/crypto/src/ocsp/OCSPException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/ocsp/OCSPException.cs')
-rw-r--r--crypto/src/ocsp/OCSPException.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/src/ocsp/OCSPException.cs b/crypto/src/ocsp/OCSPException.cs
index 44eed9f32..db53e559a 100644
--- a/crypto/src/ocsp/OCSPException.cs
+++ b/crypto/src/ocsp/OCSPException.cs
@@ -2,7 +2,10 @@ using System;
 
 namespace Org.BouncyCastle.Ocsp
 {
-	public class OcspException
+#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT)
+    [Serializable]
+#endif
+    public class OcspException
 		: Exception
 	{
 		public OcspException()