diff options
Diffstat (limited to 'src/libutil/hash.cc')
-rw-r--r-- | src/libutil/hash.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc index f03f05b7c..2b0390da4 100644 --- a/src/libutil/hash.cc +++ b/src/libutil/hash.cc @@ -25,6 +25,9 @@ static size_t regularHashSize(HashType type) { abort(); } +std::set<std::string> hashTypes = { "md5", "sha1", "sha256", "sha512" }; + + void Hash::init() { hashSize = regularHashSize(type); |