aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/includes/hicn/transport/core/packet.h
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-02-27 15:22:51 +0100
committerMauro Sardara <msardara@cisco.com>2020-02-27 15:22:51 +0100
commit3c532dd5e1844e0f094e2ae7555b1f65a2fd106f (patch)
tree999c31ee428c7686acfb4c7fbc4d28a1a5aa141f /libtransport/includes/hicn/transport/core/packet.h
parentbd8380012c308a79861e2e52919e9ff6326d45dc (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/includes/hicn/transport/core/packet.h')
-rw-r--r--libtransport/includes/hicn/transport/core/packet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libtransport/includes/hicn/transport/core/packet.h b/libtransport/includes/hicn/transport/core/packet.h
index e80912cbe..e758aa13e 100644
--- a/libtransport/includes/hicn/transport/core/packet.h
+++ b/libtransport/includes/hicn/transport/core/packet.h
@@ -149,7 +149,8 @@ class Packet : public std::enable_shared_from_this<Packet> {
utils::KeyId getKeyId() const;
- virtual utils::CryptoHash computeDigest(HashAlgorithm algorithm) const;
+ virtual utils::CryptoHash computeDigest(
+ utils::CryptoHashType algorithm) const;
void setChecksum();