Commit 89f9aefa authored by Jan Včelák's avatar Jan Včelák 🚀

[dnssec] rename datum_to_binary to binary_from_datum

parent 29b57291
......@@ -433,7 +433,7 @@ int dnssec_sign_write(dnssec_sign_ctx_t *ctx, dnssec_binary_t *signature)
return DNSSEC_SIGN_ERROR;
}
dnssec_binary_t bin_raw = datum_to_binary(&raw);
dnssec_binary_t bin_raw = binary_from_datum(&raw);
return ctx->functions->x509_to_dnssec(ctx, &bin_raw, signature);
}
......
......@@ -113,7 +113,7 @@ static inline gnutls_datum_t binary_to_datum(const dnssec_binary_t *from)
return to;
}
static inline dnssec_binary_t datum_to_binary(const gnutls_datum_t *from)
static inline dnssec_binary_t binary_from_datum(const gnutls_datum_t *from)
{
dnssec_binary_t to = { .size = from->size, .data = from->data };
return to;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment