aboutsummaryrefslogtreecommitdiffstats
path: root/src/constructs/tss/tss.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 15:04:52 +0000
committerlloyd <[email protected]>2010-10-13 15:04:52 +0000
commitfc4c8f57baa06cfc9073ce83a5e3d1547bea86c0 (patch)
tree569e6b94f20fd71085c7eaeafe92b051697da613 /src/constructs/tss/tss.cpp
parent30a71cfa8d2d4c78e3a2b9f4c394b652f457e1f2 (diff)
parent6e85766cf001183e160c8ca2c0ed3eb40f07125c (diff)
propagate from branch 'net.randombit.botan' (head 0b2a6834cd19e431afc91bd062b0b455d6d035ac)
to branch 'net.randombit.botan.c++0x' (head fbb6dc287edf127cc84fc29f9d8477769d5cfd7f)
Diffstat (limited to 'src/constructs/tss/tss.cpp')
-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 f6f2344fd..055bc79ad 100644
--- a/src/constructs/tss/tss.cpp
+++ b/src/constructs/tss/tss.cpp
@@ -205,7 +205,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");