aboutsummaryrefslogtreecommitdiffstats
path: root/src/constructs/tss
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-09 04:14:30 +0000
committerlloyd <[email protected]>2010-03-09 04:14:30 +0000
commitac0ec9b832a337c91cb451e0b8d12b77fa27a20c (patch)
tree0c5e95abcf4be37bc84174120303c2a5166d50c0 /src/constructs/tss
parentcdcd3a9aba28cefcccb64f91fb56d3847f6c9130 (diff)
Various updates: unique_ptr, using chrono, merge fixups, etc
Diffstat (limited to 'src/constructs/tss')
-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 0782a27d1..101640f96 100644
--- a/src/constructs/tss/tss.cpp
+++ b/src/constructs/tss/tss.cpp
@@ -209,7 +209,7 @@ RTSS_Share::reconstruct(const std::vector<RTSS_Share>& shares)
byte hash_id = shares[0].contents[16];
- std::auto_ptr<HashFunction> hash(get_rtss_hash_by_id(hash_id));
+ std::unique_ptr<HashFunction> hash(get_rtss_hash_by_id(hash_id));
if(shares[0].size() != secret_len + hash->OUTPUT_LENGTH + RTSS_HEADER_SIZE + 1)
throw Decoding_Error("Bad RTSS length field in header");