aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_tss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_tss.cpp')
-rw-r--r--src/tests/test_tss.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/test_tss.cpp b/src/tests/test_tss.cpp
index 714f08df6..139e2087d 100644
--- a/src/tests/test_tss.cpp
+++ b/src/tests/test_tss.cpp
@@ -40,8 +40,8 @@ class TSS_Recovery_Tests final : public Text_Based_Test
shares.push_back(Botan::RTSS_Share(v.data(), v.size()));
}
- auto reconstructed_secret = Botan::RTSS_Share::reconstruct(shares);
- result.test_eq("Reconstructed secret correctly from all shares", reconstructed_secret, input);
+ auto reconstructed_secret_all = Botan::RTSS_Share::reconstruct(shares);
+ result.test_eq("Reconstructed secret correctly from all shares", reconstructed_secret_all, input);
if(header == "Invalid")
result.test_failure("Invalid shares should not result in recovery");
@@ -127,8 +127,8 @@ class TSS_Generation_Tests final : public Text_Based_Test
result.test_eq("Expected share", shares[i].data(), expected_shares[i]);
}
- auto reconstructed_secret = Botan::RTSS_Share::reconstruct(shares);
- result.test_eq("Reconstructed secret correctly from all shares", reconstructed_secret, input);
+ auto reconstructed_secret_all = Botan::RTSS_Share::reconstruct(shares);
+ result.test_eq("Reconstructed secret correctly from all shares", reconstructed_secret_all, input);
if(N != M)
{