}
}
+ for (size_t i = 0; i < eb->opts.masters.count; i++) {
+ if ((ea->opts.masters.tlss[i] == NULL) !=
+ (eb->opts.masters.tlss[i] == NULL)) {
+ return (false);
+ }
+ if (ea->opts.masters.tlss[i] == NULL) {
+ continue;
+ }
+ if (!dns_name_equal(ea->opts.masters.tlss[i],
+ eb->opts.masters.tlss[i])) {
+ return (false);
+ }
+ }
+
/* If one is NULL and the other isn't, the entries don't match */
if ((ea->opts.allow_query == NULL) != (eb->opts.allow_query == NULL)) {
return (false);
goto cleanup;
}
}
+
+ if (entry->opts.masters.tlss[i] != NULL) {
+ isc_buffer_putstr(buffer, " tls ");
+ result = dns_name_totext(entry->opts.masters.tlss[i],
+ true, buffer);
+ if (result != ISC_R_SUCCESS) {
+ goto cleanup;
+ }
+ }
isc_buffer_putstr(buffer, "; ");
}
isc_buffer_putstr(buffer, "}; ");