BIND 10 trac781, updated. 604e90d1e0c928cc8d94146beea6e24fe2252eec [trac781] one more trivial cleanup: added space around 'return'

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Apr 19 00:11:42 UTC 2011


The branch, trac781 has been updated
       via  604e90d1e0c928cc8d94146beea6e24fe2252eec (commit)
      from  dcf58b7836e854107438368905576de7d29e0e3b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 604e90d1e0c928cc8d94146beea6e24fe2252eec
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Apr 18 17:11:24 2011 -0700

    [trac781] one more trivial cleanup: added space around 'return'

-----------------------------------------------------------------------

Summary of changes:
 src/lib/crypto/crypto.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/crypto/crypto.cc b/src/lib/crypto/crypto.cc
index 5319831..2319874 100644
--- a/src/lib/crypto/crypto.cc
+++ b/src/lib/crypto/crypto.cc
@@ -142,9 +142,9 @@ public:
     std::vector<uint8_t> sign(size_t len) {
         Botan::SecureVector<Botan::byte> b_result(hmac_->final());
         if (len == 0 || len > b_result.size()) {
-            return(std::vector<uint8_t>(b_result.begin(), b_result.end()));
+            return (std::vector<uint8_t>(b_result.begin(), b_result.end()));
         } else {
-            return(std::vector<uint8_t>(b_result.begin(), &b_result[len]));
+            return (std::vector<uint8_t>(b_result.begin(), &b_result[len]));
         }
     }
 




More information about the bind10-changes mailing list