summaryrefslogtreecommitdiff
path: root/src/mongo/crypto/sha1_block.cpp
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2017-04-11 15:19:59 -0400
committerRandolph Tan <randolph@10gen.com>2017-04-17 15:24:53 -0400
commit637a1b6b6c0dc8f6f07e6e6aa50585b500c1350f (patch)
tree64e529ab5aee1e1682285d61d9c5628f6e0c7a4d /src/mongo/crypto/sha1_block.cpp
parentd4c1d45863a14d504404e0b606eb4ef01aacc2a1 (diff)
downloadmongo-637a1b6b6c0dc8f6f07e6e6aa50585b500c1350f.tar.gz
SERVER-28435 Implement getNewKey for catalog client
Diffstat (limited to 'src/mongo/crypto/sha1_block.cpp')
-rw-r--r--src/mongo/crypto/sha1_block.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/crypto/sha1_block.cpp b/src/mongo/crypto/sha1_block.cpp
index 9debee81fcc..3f36ef6611f 100644
--- a/src/mongo/crypto/sha1_block.cpp
+++ b/src/mongo/crypto/sha1_block.cpp
@@ -90,4 +90,8 @@ bool SHA1Block::operator!=(const SHA1Block& other) const {
return !(*this == other);
}
+std::ostream& operator<<(std::ostream& os, const SHA1Block& sha1) {
+ return os << sha1.toString();
+}
+
} // namespace mongo