diff options
author | Libor Peltan <libor.peltan@nic.cz> | 2017-04-07 13:25:13 +0200 |
---|---|---|
committer | Libor Peltan <libor.peltan@nic.cz> | 2017-04-07 13:59:32 +0200 |
commit | eedfad54077e005b3d3df33ca90e476c919663be (patch) | |
tree | b2af371ffebb57107df94baa4c80fb79755bae05 /src/libknot/tsig.c | |
parent | conf: move address range item into yparser schema (diff) | |
download | knot-eedfad54077e005b3d3df33ca90e476c919663be.tar.xz knot-eedfad54077e005b3d3df33ca90e476c919663be.zip |
utils: tsig argument: if alg unspecified, using sha256
Diffstat (limited to 'src/libknot/tsig.c')
-rw-r--r-- | src/libknot/tsig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libknot/tsig.c b/src/libknot/tsig.c index 9d0f50ee8..a84247448 100644 --- a/src/libknot/tsig.c +++ b/src/libknot/tsig.c @@ -47,7 +47,7 @@ int knot_tsig_key_init(knot_tsig_key_t *key, const char *algorithm_name, return KNOT_EINVAL; } - dnssec_tsig_algorithm_t algorithm = DNSSEC_TSIG_HMAC_MD5; + dnssec_tsig_algorithm_t algorithm = DNSSEC_TSIG_HMAC_SHA256; if (algorithm_name != NULL) { algorithm = dnssec_tsig_algorithm_from_name(algorithm_name); if (algorithm == DNSSEC_TSIG_UNKNOWN) { |