Skip to content
Snippets Groups Projects
Commit f8dbf918 authored by Daniel Salzman's avatar Daniel Salzman Committed by Jan Včelák
Browse files

knsupate: allow KEY type in public keyfile

parent c66dc44f
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,8 @@ static int get_key_info_from_public_key(const char *filename,
free(buffer);
fclose(keyfile);
if (scanner->r_type != KNOT_RRTYPE_DNSKEY) {
if (scanner->r_type != KNOT_RRTYPE_DNSKEY &&
scanner->r_type != KNOT_RRTYPE_KEY) {
zs_scanner_free(scanner);
return KNOT_KEY_EPUBLIC_KEY_INVALID;
}
......
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