Skip to content

Commit c3e20a4

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 f410a4d commit c3e20a4

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

doc/api/crypto.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -2471,15 +2471,21 @@ 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.
2480+
- version: REPLACEME
2481+
pr-url: https://github.com/nodejs/node/pull/41569
2482+
description: The subject option can now be set to `'default'`.
24742483
-->
24752484

24762485
* `email` {string}
24772486
* `options` {Object}
2478-
* `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`.
2487+
* `subject` {string} `'default'`, `'always'`, or `'never'`.
2488+
**Default:** `'always'`.
24832489
* Returns: {string|undefined} Returns `email` if the certificate matches,
24842490
`undefined` if it does not.
24852491

0 commit comments

Comments
 (0)