Index: net/cert/merkle_consistency_proof.h |
diff --git a/net/cert/merkle_consistency_proof.h b/net/cert/merkle_consistency_proof.h |
index 48a70dc5eaa8e69905f90cecd9bb6c3e2bec7d00..cddc64e00c2afd4fc7318ba3a0903eab20f6a280 100644 |
--- a/net/cert/merkle_consistency_proof.h |
+++ b/net/cert/merkle_consistency_proof.h |
@@ -5,8 +5,8 @@ |
#ifndef NET_CERT_MERKLE_CONSISTENCY_PROOF_H_ |
#define NET_CERT_MERKLE_CONSISTENCY_PROOF_H_ |
-#include <stdint.h> |
- |
+#include <cstdint> |
+#include <ostream> |
#include <string> |
#include <vector> |
@@ -38,6 +38,12 @@ struct NET_EXPORT MerkleConsistencyProof { |
uint64_t second_tree_size = 0; |
}; |
+NET_EXPORT bool operator==(const MerkleConsistencyProof& proof1, |
+ const MerkleConsistencyProof& proof2); |
+ |
+NET_EXPORT std::ostream& operator<<(std::ostream& stream, |
+ const MerkleConsistencyProof& proof); |
+ |
} // namespace ct |
} // namespace net |