Skip to content
Snippets Groups Projects
Commit bff0cab1 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

knsupdate: set HMAC-MD5 as default algorithm when loading TSIG key from file

parent 4af6aa88
No related branches found
No related tags found
No related merge requests found
......@@ -471,6 +471,9 @@ int params_parse_keyfile(const char *filename, knot_key_t *key)
return KNOT_ERROR;
}
/* Set defaults. */
key->algorithm = KNOT_TSIG_ALG_HMAC_MD5;
/* Parse lines. */
ret = tok_process_lines(fp, params_parse_keyline, key);
......
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