aboutsummaryrefslogtreecommitdiffstats
path: root/utils/src/ping_server.cc
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 /utils/src/ping_server.cc
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 'utils/src/ping_server.cc')
-rw-r--r--utils/src/ping_server.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/src/ping_server.cc b/utils/src/ping_server.cc
index d766e2811..de02a2072 100644
--- a/utils/src/ping_server.cc
+++ b/utils/src/ping_server.cc
@@ -38,7 +38,7 @@ using CryptoSuite = utils::CryptoSuite;
utils::Identity setProducerIdentity(std::string keystore_name,
std::string keystore_password,
- HashAlgorithm hash_algorithm) {
+ utils::CryptoHashType hash_algorithm) {
if (access(keystore_name.c_str(), F_OK) != -1) {
return utils::Identity(keystore_name, keystore_password, hash_algorithm);
} else {
@@ -291,7 +291,7 @@ int main(int argc, char **argv) {
CallbackContainer *stubs;
utils::Identity identity = setProducerIdentity(
- keystore_path, keystore_password, HashAlgorithm::SHA_256);
+ keystore_path, keystore_password, utils::CryptoHashType::SHA_256);
if (sign) {
stubs = new CallbackContainer(n, object_size, verbose, dump, quite, flags,