diff options
author | Angelo Mantellini <angelo.mantellini@cisco.com> | 2020-02-27 14:33:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2020-02-27 14:33:01 +0000 |
commit | 0fe06328d8bb8a174f0e9a246b437e5eaf2a7628 (patch) | |
tree | a8485c9952bf7bbc09ac6209b25352841a36371f /libtransport/src/core/manifest_format_fixed.cc | |
parent | 40133d80a41f438b469b6c94e87fea2a00affa81 (diff) | |
parent | 3c532dd5e1844e0f094e2ae7555b1f65a2fd106f (diff) |
Merge "[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhere"
Diffstat (limited to 'libtransport/src/core/manifest_format_fixed.cc')
-rw-r--r-- | libtransport/src/core/manifest_format_fixed.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtransport/src/core/manifest_format_fixed.cc b/libtransport/src/core/manifest_format_fixed.cc index 4073a5d26..ca80c38b1 100644 --- a/libtransport/src/core/manifest_format_fixed.cc +++ b/libtransport/src/core/manifest_format_fixed.cc @@ -55,7 +55,7 @@ FixedManifestEncoder &FixedManifestEncoder::clearImpl() { } FixedManifestEncoder &FixedManifestEncoder::setHashAlgorithmImpl( - HashAlgorithm algorithm) { + utils::CryptoHashType algorithm) { manifest_header_->hash_algorithm = static_cast<uint8_t>(algorithm); return *this; } @@ -170,8 +170,8 @@ ManifestType FixedManifestDecoder::getManifestTypeImpl() const { return static_cast<ManifestType>(manifest_header_->manifest_type); } -HashAlgorithm FixedManifestDecoder::getHashAlgorithmImpl() const { - return static_cast<HashAlgorithm>(manifest_header_->hash_algorithm); +utils::CryptoHashType FixedManifestDecoder::getHashAlgorithmImpl() const { + return static_cast<utils::CryptoHashType>(manifest_header_->hash_algorithm); } NextSegmentCalculationStrategy |