summary refs log tree commit diff
path: root/crypto/src/openssl/PasswordException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/openssl/PasswordException.cs')
-rw-r--r--crypto/src/openssl/PasswordException.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/src/openssl/PasswordException.cs b/crypto/src/openssl/PasswordException.cs
index b21dee231..fba958aa0 100644
--- a/crypto/src/openssl/PasswordException.cs
+++ b/crypto/src/openssl/PasswordException.cs
@@ -3,7 +3,10 @@ using System.IO;
 
 namespace Org.BouncyCastle.Security
 {
-	public class PasswordException
+#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT)
+    [Serializable]
+#endif
+    public class PasswordException
 		: IOException
 	{
 		public PasswordException(