Changeset 2949
- Timestamp:
- 03/03/10 15:13:45 (6 months ago)
- Location:
- trunk/OpenDNSSEC
- Files:
-
- 2 modified
-
NEWS (modified) (1 diff)
-
signer/tools/zone_fetcher.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/OpenDNSSEC/NEWS
r2947 r2949 17 17 * Looked for the database init script in $prefix/share/opendnssec and not datadir. 18 18 * More proper memory cleanup in parsing zonefetch.xml 19 * Zonefetch.xml now accepts hmac-md5, which is an alias for 20 hmac-md5.sig-alg.reg.int. 21 19 22 20 23 OpenDNSSEC 1.0.0 - 2010-0X-XX -
trunk/OpenDNSSEC/signer/tools/zone_fetcher.c
r2899 r2949 882 882 ldns_pkt_free(qpkt); 883 883 if (status != LDNS_STATUS_OK) { 884 if (errno != EINPROGRESS) { 885 log_msg(LOG_ERR, "zone fetcher failed to start axfr: %s", 886 ldns_get_errorstr_by_id(status)); 887 return -1; 888 } 884 log_msg(LOG_ERR, "zone fetcher failed to start axfr: %s", 885 ldns_get_errorstr_by_id(status)); 886 return -1; 889 887 } 890 888 … … 969 967 if (config->use_tsig) { 970 968 ldns_resolver_set_tsig_keyname(xfrd, config->tsig_name); 971 ldns_resolver_set_tsig_algorithm(xfrd, config->tsig_algo); 969 if (strncmp(config->tsig_algo, "hmac-md5", 8) == 0) { 970 ldns_resolver_set_tsig_algorithm(xfrd, "hmac-md5.sig-alg.reg.int."); 971 } else { 972 ldns_resolver_set_tsig_algorithm(xfrd, config->tsig_algo); 973 } 972 974 ldns_resolver_set_tsig_keydata(xfrd, config->tsig_secret); 973 975 }
