(pattern)
| 440 | } else if (dnsNames.length > 0 || subject?.CN) { |
| 441 | const hostParts = splitHost(hostnameASCIIWithoutFQDN); |
| 442 | const wildcard = (pattern) => check(hostParts, pattern, true); |
| 443 | |
| 444 | if (dnsNames.length > 0) { |
| 445 | valid = dnsNames.some(wildcard); |