You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2011/01/24 16:59:13 UTC

svn commit: r1062846 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs

Author: tabish
Date: Mon Jan 24 15:59:13 2011
New Revision: 1062846

URL: http://svn.apache.org/viewvc?rev=1062846&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQNET-311

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs?rev=1062846&r1=1062845&r2=1062846&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs Mon Jan 24 15:59:13 2011
@@ -242,6 +242,7 @@ namespace Apache.NMS.ActiveMQ.Transport.
                 }
 
                 X509Store store = new X509Store(name, location);
+                store.Open(OpenFlags.ReadOnly);
                 collection = store.Certificates;
                 store.Close();
             }