mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-05 09:05:40 +00:00
Simplify dns_name_init()
Remove the now-unused offsets parameter from dns_name_init().
This commit is contained in:
@@ -1534,7 +1534,7 @@ get_key_struct(const dns_name_t *name, unsigned int alg, unsigned int flags,
|
||||
.func = dst_t_func[alg],
|
||||
};
|
||||
|
||||
dns_name_init(key->key_name, NULL);
|
||||
dns_name_init(key->key_name);
|
||||
dns_name_dup(name, mctx, key->key_name);
|
||||
|
||||
isc_refcount_init(&key->refs, 1);
|
||||
|
Reference in New Issue
Block a user