Skip to content

Commit fe0f9dc

Browse files
tniessendanielleadams
authored andcommitted
crypto: remove wildcard options for checkEmail
Wildcard options do not affect X509_check_email. Refs: openssl/openssl#17536 Refs: #41571 PR-URL: #41599 Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
1 parent 188c3ab commit fe0f9dc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/api/crypto.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2471,15 +2471,17 @@ added: v15.6.0
24712471

24722472
<!-- YAML
24732473
added: v15.6.0
2474+
changes:
2475+
- version: REPLACEME
2476+
pr-url: https://github.com/nodejs/node/pull/41599
2477+
description: The `wildcards`, `partialWildcards`, `multiLabelWildcards`, and
2478+
`singleLabelSubdomains` options have been removed since they
2479+
had no effect.
24742480
-->
24752481

24762482
* `email` {string}
24772483
* `options` {Object}
24782484
* `subject` {string} `'always'` or `'never'`. **Default:** `'always'`.
2479-
* `wildcards` {boolean} **Default:** `true`.
2480-
* `partialWildcards` {boolean} **Default:** `true`.
2481-
* `multiLabelWildcards` {boolean} **Default:** `false`.
2482-
* `singleLabelSubdomains` {boolean} **Default:** `false`.
24832485
* Returns: {string|undefined} Returns `email` if the certificate matches,
24842486
`undefined` if it does not.
24852487

0 commit comments

Comments
 (0)