diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-07-21T16·39+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-07-21T16·39+0200 |
commit | d3cd0f585619d35f5daad3441258edd15ebc3f64 (patch) | |
tree | a78097ef735e36e58518a4e4f146b455c6e28fc7 /src | |
parent | e19c90fc6b319cb3bb6fbb9a88524dcc7bcbd0aa (diff) |
Fix assertion failure
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/hash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc index 5352483ff93b..81aced0fde16 100644 --- a/src/libutil/hash.cc +++ b/src/libutil/hash.cc @@ -121,7 +121,7 @@ const string base32Chars = "0123456789abcdfghijklmnpqrsvwxyz"; string printHash32(const Hash & hash) { - assert(hash.type != htUnknown); + assert(hash.hashSize); size_t len = hash.base32Len(); assert(len); |