aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libutil/hash.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc
index 71d4ba67e..6df75e956 100644
--- a/src/libutil/hash.cc
+++ b/src/libutil/hash.cc
@@ -14,7 +14,6 @@ extern "C" {
#include <fcntl.h>
-
Hash::Hash()
{
type = htUnknown;
@@ -198,7 +197,7 @@ bool isHash(const string & s)
}
-struct Ctx
+union Ctx
{
md5_ctx md5;
sha_ctx sha1;