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 2015/03/04 21:17:08 UTC

[1/2] activemq-cpp git commit: https://issues.apache.org/jira/browse/AMQCPP-566

Repository: activemq-cpp
Updated Branches:
  refs/heads/3.8.x 20fbff24e -> 9b5fd2599
  refs/heads/trunk ceea970bd -> f07d2bb0f


https://issues.apache.org/jira/browse/AMQCPP-566

Project: http://git-wip-us.apache.org/repos/asf/activemq-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-cpp/commit/f07d2bb0
Tree: http://git-wip-us.apache.org/repos/asf/activemq-cpp/tree/f07d2bb0
Diff: http://git-wip-us.apache.org/repos/asf/activemq-cpp/diff/f07d2bb0

Branch: refs/heads/trunk
Commit: f07d2bb0fd6424f6a833807ca9b40c2b0901665c
Parents: ceea970
Author: Timothy Bish <ta...@gmail.com>
Authored: Wed Mar 4 15:03:08 2015 -0500
Committer: Timothy Bish <ta...@gmail.com>
Committed: Wed Mar 4 15:03:08 2015 -0500

----------------------------------------------------------------------
 .../src/main/decaf/internal/security/unix/SecureRandomImpl.cpp     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/f07d2bb0/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp b/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp
index 434aaba..8293c88 100644
--- a/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp
+++ b/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp
@@ -71,7 +71,7 @@ SecureRandomImpl::SecureRandomImpl() : config( new SRNGData() ) {
 
         do {
             // Attempt to find an OS source for secure random bytes.
-            result = apr_file_open( &config->randFile, files[index],
+            result = apr_file_open( &config->randFile, files[index++],
                                     APR_READ, APR_OS_DEFAULT,
                                     config->pool.getAprPool() );
         } while( index < 2 && result != APR_SUCCESS );


[2/2] activemq-cpp git commit: https://issues.apache.org/jira/browse/AMQCPP-566

Posted by ta...@apache.org.
https://issues.apache.org/jira/browse/AMQCPP-566


Project: http://git-wip-us.apache.org/repos/asf/activemq-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-cpp/commit/9b5fd259
Tree: http://git-wip-us.apache.org/repos/asf/activemq-cpp/tree/9b5fd259
Diff: http://git-wip-us.apache.org/repos/asf/activemq-cpp/diff/9b5fd259

Branch: refs/heads/3.8.x
Commit: 9b5fd25993a035521f0aaf4fee2593d6b5e10e4f
Parents: 20fbff2
Author: Timothy Bish <ta...@gmail.com>
Authored: Wed Mar 4 15:03:08 2015 -0500
Committer: Timothy Bish <ta...@gmail.com>
Committed: Wed Mar 4 15:04:25 2015 -0500

----------------------------------------------------------------------
 .../src/main/decaf/internal/security/unix/SecureRandomImpl.cpp     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/9b5fd259/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp b/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp
index 434aaba..8293c88 100644
--- a/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp
+++ b/activemq-cpp/src/main/decaf/internal/security/unix/SecureRandomImpl.cpp
@@ -71,7 +71,7 @@ SecureRandomImpl::SecureRandomImpl() : config( new SRNGData() ) {
 
         do {
             // Attempt to find an OS source for secure random bytes.
-            result = apr_file_open( &config->randFile, files[index],
+            result = apr_file_open( &config->randFile, files[index++],
                                     APR_READ, APR_OS_DEFAULT,
                                     config->pool.getAprPool() );
         } while( index < 2 && result != APR_SUCCESS );