diff options
author | lloyd <[email protected]> | 2010-08-04 12:50:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-08-04 12:50:23 +0000 |
commit | e19f1554004830e99872c13b8d5fa678b93d586a (patch) | |
tree | 51ebc37d2bda7ee4ad9d16f8e0408ac9dd844dd2 /src/constructs/tss/tss.cpp | |
parent | 5d9eecf1646facfff9b20e9932894fce0d0ff39c (diff) | |
parent | 49ebca0d092bcb6a208604f7ac8d1b798f5170fc (diff) |
propagate from branch 'net.randombit.botan' (head 717a9d103aa80e6d66c04e3a23cf173aadf56ceb)
to branch 'net.randombit.botan.c++0x' (head c9759e8ebc2f360696a11f2d00fc218d7a8bf744)
Diffstat (limited to 'src/constructs/tss/tss.cpp')
-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 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"); |