diff options
Diffstat (limited to 'src/mongo/crypto/sha1_block.cpp')
-rw-r--r-- | src/mongo/crypto/sha1_block.cpp | 4 |
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 |