diff options
author | Mauro Sardara <msardara@cisco.com> | 2020-02-27 15:22:51 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2020-02-27 15:22:51 +0100 |
commit | 3c532dd5e1844e0f094e2ae7555b1f65a2fd106f (patch) | |
tree | 999c31ee428c7686acfb4c7fbc4d28a1a5aa141f /libtransport/src/core/manifest.h | |
parent | bd8380012c308a79861e2e52919e9ff6326d45dc (diff) |
[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhere
Change-Id: Iddbc427611c888b28059170a70c0925ebb299cb5
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'libtransport/src/core/manifest.h')
-rw-r--r-- | libtransport/src/core/manifest.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtransport/src/core/manifest.h b/libtransport/src/core/manifest.h index b4875bf22..eadfed752 100644 --- a/libtransport/src/core/manifest.h +++ b/libtransport/src/core/manifest.h @@ -96,13 +96,13 @@ class Manifest : public Base { return *this; } - Manifest &setHashAlgorithm(HashAlgorithm hash_algorithm) { + Manifest &setHashAlgorithm(utils::CryptoHashType hash_algorithm) { hash_algorithm_ = hash_algorithm; encoder_.setHashAlgorithm(hash_algorithm_); return *this; } - HashAlgorithm getHashAlgorithm() { return hash_algorithm_; } + utils::CryptoHashType getHashAlgorithm() { return hash_algorithm_; } ManifestType getManifestType() const { return manifest_type_; } @@ -138,7 +138,7 @@ class Manifest : public Base { protected: ManifestType manifest_type_; - HashAlgorithm hash_algorithm_; + utils::CryptoHashType hash_algorithm_; bool is_last_; Encoder encoder_; |