summaryrefslogtreecommitdiffstats
path: root/libtransport/includes/hicn/transport/core/packet.h
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2020-02-27 14:33:01 +0000
committerGerrit Code Review <gerrit@fd.io>2020-02-27 14:33:01 +0000
commit0fe06328d8bb8a174f0e9a246b437e5eaf2a7628 (patch)
treea8485c9952bf7bbc09ac6209b25352841a36371f /libtransport/includes/hicn/transport/core/packet.h
parent40133d80a41f438b469b6c94e87fea2a00affa81 (diff)
parent3c532dd5e1844e0f094e2ae7555b1f65a2fd106f (diff)
Merge "[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhere"
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();