diff options
-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); |