Add support for Ed25519 DNSSEC signature algorithm.

This commit is contained in:
Simon Kelley
2017-10-27 22:13:49 +01:00
parent a6004d7f17
commit ad9c6f06c5
6 changed files with 475 additions and 324 deletions

View File

@@ -25,7 +25,7 @@ static void blockdata_expand(int n)
{
struct blockdata *new = whine_malloc(n * sizeof(struct blockdata));
if (n > 0 && new)
if (new)
{
int i;
@@ -100,6 +100,7 @@ struct blockdata *blockdata_alloc(char *data, size_t len)
return ret;
}
void blockdata_free(struct blockdata *blocks)
{
struct blockdata *tmp;