From c688bd9b65dd462f4e738fe61cb86e227284a43a Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 25 May 2012 16:57:27 +0000 Subject: Include in buf_comp.h and filter.h as we used std::string but were not including it in the header chain. Caused compilation failures using Clang 3.1 using libc++. Remove the 3-argument version of hash_seq in SRP6, was not being used. --- src/constructs/srp6/srp6.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/constructs/srp6') diff --git a/src/constructs/srp6/srp6.cpp b/src/constructs/srp6/srp6.cpp index 569454350..f1927b648 100644 --- a/src/constructs/srp6/srp6.cpp +++ b/src/constructs/srp6/srp6.cpp @@ -29,22 +29,6 @@ BigInt hash_seq(const std::string& hash_id, return BigInt::decode(hash_fn->final()); } -BigInt hash_seq(const std::string& hash_id, - size_t pad_to, - const BigInt& in1, - const BigInt& in2, - const BigInt& in3) - { - std::unique_ptr hash_fn( - global_state().algorithm_factory().make_hash_function(hash_id)); - - hash_fn->update(BigInt::encode_1363(in1, pad_to)); - hash_fn->update(BigInt::encode_1363(in2, pad_to)); - hash_fn->update(BigInt::encode_1363(in3, pad_to)); - - return BigInt::decode(hash_fn->final()); - } - BigInt compute_x(const std::string& hash_id, const std::string& identifier, const std::string& password, -- cgit v1.2.3