From c3e20a4a739ef59b29e018c4bfb47086b983813c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 19 Jan 2022 18:12:13 +0000 Subject: [PATCH] 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 Reviewed-By: Filip Skokan --- doc/api/crypto.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 029eaa56fcaaf7..b156ee9e03806f 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2471,15 +2471,21 @@ added: v15.6.0 * `email` {string} * `options` {Object} - * `subject` {string} `'always'` or `'never'`. **Default:** `'always'`. - * `wildcards` {boolean} **Default:** `true`. - * `partialWildcards` {boolean} **Default:** `true`. - * `multiLabelWildcards` {boolean} **Default:** `false`. - * `singleLabelSubdomains` {boolean} **Default:** `false`. + * `subject` {string} `'default'`, `'always'`, or `'never'`. + **Default:** `'always'`. * Returns: {string|undefined} Returns `email` if the certificate matches, `undefined` if it does not.