activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject [1/2] activemq-cpp git commit: https://issues.apache.org/jira/browse/AMQCPP-566
Date Wed, 04 Mar 2015 20:17:08 GMT
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 <tabish121@gmail.com>
Authored: Wed Mar 4 15:03:08 2015 -0500
Committer: Timothy Bish <tabish121@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 );


Mime
View raw message