aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/base/symkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/base/symkey.cpp')
-rw-r--r--src/lib/base/symkey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/base/symkey.cpp b/src/lib/base/symkey.cpp
index a012773ff..115c3ea67 100644
--- a/src/lib/base/symkey.cpp
+++ b/src/lib/base/symkey.cpp
@@ -74,7 +74,7 @@ void OctetString::set_odd_parity()
/*
* Hex encode an OctetString
*/
-std::string OctetString::as_string() const
+std::string OctetString::to_string() const
{
return hex_encode(m_data.data(), m_data.size());
}