X Tutup
The Wayback Machine - https://web.archive.org/web/20220320040234/https://github.com/nodejs/node/commit/9e39e62ae2
Skip to content
Permalink
Browse files
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 <hello@bnb.im>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
  • Loading branch information
tniessen authored and BethGriggs committed Jan 24, 2022
1 parent 4a4c907 commit 9e39e62ae22c4ac2738a818ec2d5597d0e4ff559
Showing with 5 additions and 4 deletions.
  1. +5 −4 doc/api/crypto.md
@@ -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.

0 comments on commit 9e39e62

Please sign in to comment.
X Tutup