Fix to last commit.

This commit is contained in:
Simon Kelley
2014-01-25 23:46:23 +00:00
parent 8a9be9e493
commit 703c7ff429
2 changed files with 11 additions and 4 deletions

View File

@@ -1393,7 +1393,8 @@ unsigned char* hash_questions(struct dns_header *header, size_t plen, char *name
if (!CHECK_LEN(header, p, plen, 0))
return digest; /* bad packet */
}
hash->digest(ctx, hash->digest_size, digest);
return digest;
}