diff options
author | lloyd <[email protected]> | 2010-11-04 20:46:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-11-04 20:46:52 +0000 |
commit | e19a323006287c4dba58c6b530fbcafa47a8c8c5 (patch) | |
tree | c9da529f446e9a8b0119dfbb79dcd9787219deb4 /src/constructs/tss | |
parent | 5c1ca36f06ba06e2ba2e22efd7742571c8a7dcd3 (diff) | |
parent | edf4cd93eedf8e6972edaccaea4b7b7ab45faded (diff) |
propagate from branch 'net.randombit.botan' (head 303b2518a80553214b1e5ab4d9b96ef54629cbc7)
to branch 'net.randombit.botan.c++0x' (head d734eefabe4816be4dd3e3e6e7bb13b7ab5be148)
Diffstat (limited to 'src/constructs/tss')
-rw-r--r-- | src/constructs/tss/tss.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constructs/tss/tss.cpp b/src/constructs/tss/tss.cpp index e949c5a09..2bd4ec016 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"); |