aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/includes/hicn/transport/interfaces/socket_producer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/includes/hicn/transport/interfaces/socket_producer.h')
-rw-r--r--libtransport/includes/hicn/transport/interfaces/socket_producer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libtransport/includes/hicn/transport/interfaces/socket_producer.h b/libtransport/includes/hicn/transport/interfaces/socket_producer.h
index e4823cb5c..2dc289995 100644
--- a/libtransport/includes/hicn/transport/interfaces/socket_producer.h
+++ b/libtransport/includes/hicn/transport/interfaces/socket_producer.h
@@ -101,7 +101,8 @@ class ProducerSocket {
int setSocketOption(int socket_option_key,
ProducerContentCallback socket_option_value);
- int setSocketOption(int socket_option_key, HashAlgorithm socket_option_value);
+ int setSocketOption(int socket_option_key,
+ utils::CryptoHashType socket_option_value);
int setSocketOption(int socket_option_key,
utils::CryptoSuite socket_option_value);
@@ -130,7 +131,7 @@ class ProducerSocket {
ProducerInterestCallback **socket_option_value);
int getSocketOption(int socket_option_key,
- HashAlgorithm &socket_option_value);
+ utils::CryptoHashType &socket_option_value);
int getSocketOption(int socket_option_key,
utils::CryptoSuite &socket_option_value);