Commit 235a64a5 authored by Committed by Evan Hunt
Don't free key in compute_tag in case of failure
If `dns_dnssec_keyfromrdata` failed we don't need to call `dst_key_free` because no `dstkey` was created. Doing so nevertheless will result in an assertion failure. This can happen if the key uses an unsupported algorithm.
Showing with 3 additions and 2 deletions