mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
crypto: remove wildcard options for checkEmail
Wildcard options do not affect X509_check_email. Refs: https://github.com/openssl/openssl/pull/17536 Refs: https://github.com/nodejs/node/pull/41571 PR-URL: https://github.com/nodejs/node/pull/41599 Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
1 parent
b8de7aa4c2
commit
5aa4010503
1 file changed
+5
-4
+5
-4
@@ -2472,6 +2472,11 @@ added: v15.6.0
|
||||
<!-- YAML
|
||||
added: v15.6.0
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/41599
|
||||
description: The `wildcards`, `partialWildcards`, `multiLabelWildcards`, and
|
||||
`singleLabelSubdomains` options have been removed since they
|
||||
had no effect.
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/41569
|
||||
description: The subject option can now be set to `'default'`.
|
||||
@@ -2481,10 +2486,6 @@ changes:
|
||||
* `options` {Object}
|
||||
* `subject` {string} `'default'`, `'always'`, or `'never'`.
|
||||
**Default:** `'always'`.
|
||||
* `wildcards` {boolean} **Default:** `true`.
|
||||
* `partialWildcards` {boolean} **Default:** `true`.
|
||||
* `multiLabelWildcards` {boolean} **Default:** `false`.
|
||||
* `singleLabelSubdomains` {boolean} **Default:** `false`.
|
||||
* Returns: {string|undefined} Returns `email` if the certificate matches,
|
||||
`undefined` if it does not.
|
||||
|
||||
|
||||
Reference in new issue
Block a user