aboutsummaryrefslogtreecommitdiffstats
path: root/src/constructs
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-05-26 14:25:05 +0000
committerlloyd <[email protected]>2012-05-26 14:25:05 +0000
commitc13a1a1a961f508c06ea9e1f04cb0652b169e32e (patch)
tree0d64f719cd1aa1d0947cb379b0f331c3cd5814ea /src/constructs
parent9031c9098d0bf5416251fbba9e84246cce8be1f5 (diff)
Plain hex_decode now returns a std::vector, use hex_decode_locked to
get a secure_vector.
Diffstat (limited to 'src/constructs')
-rw-r--r--src/constructs/tss/tss.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constructs/tss/tss.cpp b/src/constructs/tss/tss.cpp
index e002084a1..2024b39ec 100644
--- a/src/constructs/tss/tss.cpp
+++ b/src/constructs/tss/tss.cpp
@@ -106,7 +106,7 @@ HashFunction* get_rtss_hash_by_id(byte id)
RTSS_Share::RTSS_Share(const std::string& hex_input)
{
- contents = hex_decode(hex_input);
+ contents = hex_decode_locked(hex_input);
}
byte RTSS_Share::share_id() const