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 17:01:01 UTC

svn commit: r1062849 - /activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Transport/Tcp/SslTransport.cs

Author: tabish
Date: Mon Jan 24 16:01:01 2011
New Revision: 1062849

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

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Transport/Tcp/SslTransport.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Transport/Tcp/SslTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Transport/Tcp/SslTransport.cs?rev=1062849&r1=1062848&r2=1062849&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Transport/Tcp/SslTransport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Transport/Tcp/SslTransport.cs Mon Jan 24 16:01:01 2011
@@ -244,6 +244,7 @@ namespace Apache.NMS.Stomp.Transport.Tcp
                 }
 
                 X509Store store = new X509Store(name, location);
+                store.Open(OpenFlags.ReadOnly);
                 collection = store.Certificates;
                 store.Close();
             }