Skip to content
Snippets Groups Projects
Commit 87f60382 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

dnssec: fix negative return from dnssec_key_get_protocol

parent adc67b43
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ _public_
uint8_t dnssec_key_get_protocol(const dnssec_key_t *key)
{
if (!key) {
return DNSSEC_EINVAL;
return 0;
}
wire_ctx_t wire = wire_init_binary(&key->rdata);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment