Add ENABLE_COMPLEX_DEPS flag
[platform/upstream/libsolv.git] / src / md5.c
index 85bbd6a..0431b50 100644 (file)
--- a/src/md5.c
+++ b/src/md5.c
@@ -266,5 +266,5 @@ void solv_MD5_Final(unsigned char *result, MD5_CTX *ctx)
        result[14] = ctx->d >> 16;
        result[15] = ctx->d >> 24;
 
-       memset(ctx, 0, sizeof(ctx));
+       memset(ctx, 0, sizeof(*ctx));
 }