Merge remote-tracking branch 'upstream/master' into hash-always-has-type
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user